Skip to content

Commit

Permalink
Fix CSS loading in redirect controller
Browse files Browse the repository at this point in the history
  • Loading branch information
ClearlyClaire committed Jan 26, 2024
1 parent 54ece50 commit dd7a669
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/controllers/redirect/base_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -21,4 +22,8 @@ def set_app_body_class
def set_resource
raise NotImplementedError
end

def set_pack
use_pack 'public'
end
end

0 comments on commit dd7a669

Please sign in to comment.