Fix CSS loading in redirect controller
parent
54ece5040d
commit
dd7a66949a
|
@ -3,6 +3,7 @@
|
|||
class Redirect::BaseController < ApplicationController
|
||||
vary_by 'Accept-Language'
|
||||
|
||||
before_action :set_pack
|
||||
before_action :set_resource
|
||||
before_action :set_app_body_class
|
||||
|
||||
|
@ -21,4 +22,8 @@ class Redirect::BaseController < ApplicationController
|
|||
def set_resource
|
||||
raise NotImplementedError
|
||||
end
|
||||
|
||||
def set_pack
|
||||
use_pack 'public'
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue