lib/generators/sufia/models/templates/config/sufia.rb in sufia-models-4.0.0.rc1 vs lib/generators/sufia/models/templates/config/sufia.rb in sufia-models-4.0.0.rc2

- old
+ new

@@ -9,10 +9,12 @@ # Specify a different template for your repositories unique identifiers # config.noid_template = ".reeddeeddk" config.max_days_between_audits = 7 + config.max_notifications_for_dashboard = 5 + config.cc_licenses = { 'Attribution 3.0 United States' => 'http://creativecommons.org/licenses/by/3.0/us/', 'Attribution-ShareAlike 3.0 United States' => 'http://creativecommons.org/licenses/by-sa/3.0/us/', 'Attribution-NonCommercial 3.0 United States' => 'http://creativecommons.org/licenses/by-nc/3.0/us/', 'Attribution-NoDerivs 3.0 United States' => 'http://creativecommons.org/licenses/by-nd/3.0/us/', @@ -106,10 +108,10 @@ # If browse-everything has been configured, load the configs. Otherwise, set to nil. begin if defined? BrowseEverything config.browse_everything = BrowseEverything.config else - logger.warn "BrowseEverything is not installed" + Rails.logger.warn "BrowseEverything is not installed" end rescue Errno::ENOENT config.browse_everything = nil end