Fix CSS loading in redirect controller
This commit is contained in:
parent
54ece5040d
commit
dd7a66949a
1 changed files with 5 additions and 0 deletions
|
@ -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 a new issue