Fix CSS loading in redirect controller

This commit is contained in:
Claire 2024-01-26 21:04:02 +01:00
parent 54ece5040d
commit dd7a66949a

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