lib/generators/blacklight/blacklight_generator.rb in blacklight-4.0.0.pre7 vs lib/generators/blacklight/blacklight_generator.rb in blacklight-4.0.0.rc1

- old
+ new

@@ -139,10 +139,11 @@ # prepend_file("app/controllers/application_controller.rb", "require 'blacklight/controller'\n\n") inject_into_class "app/controllers/application_controller.rb", "ApplicationController" do " # Adds a few additional behaviors into the application controller \n " + " include Blacklight::Controller\n" + " # Please be sure to impelement current_user and user_session. Blacklight depends on \n" + - " # these methods in order to perform user specific actions. \n\n" + " # these methods in order to perform user specific actions. \n\n" + + " layout 'blacklight'\n\n" end end # Generate blacklight document and the catalog controller def create_blacklight_catalog_and_document