Fix CSS loading in redirect controller

th-new
Claire 2024-01-26 21:04:02 +01:00
parent 54ece5040d
commit dd7a66949a
1 changed files with 5 additions and 0 deletions

View File

@ -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