Skip to content

Commit

Permalink
Merge pull request #1540 from projectblacklight/layout
Browse files Browse the repository at this point in the history
Generated application controller should use the blacklight layout helper
  • Loading branch information
cbeer committed Oct 3, 2016
2 parents aaa9d10 + 486bda0 commit d6a4939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/generators/blacklight/controller_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def inject_blacklight_controller_behavior
inject_into_class "app/controllers/application_controller.rb", "ApplicationController" do
" # Adds a few additional behaviors into the application controller\n" \
" include Blacklight::Controller\n" \
" layout 'blacklight'\n\n"
" layout :determine_layout\n\n"
end
end

Expand Down

0 comments on commit d6a4939

Please sign in to comment.