Skip to content

Commit

Permalink
Tweak the maintenance.rb again
Browse files Browse the repository at this point in the history
  • Loading branch information
rossjourdain committed Nov 13, 2015
1 parent 432f8e4 commit e39b8cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/easy/generators/templates/maintenance.rb.tt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ rails_root = File.expand_path(File.join(File.dirname(__FILE__), '../..'))

Turnout.configure do |config|
config.app_root = rails_root
config.named_maintenance_file_paths = {default: config.app_root.join('tmp', 'maintenance.yml').to_s, app: config.app_root.join('public', 'maintenance.html') }
config.named_maintenance_file_paths = { default: config.app_root.join('tmp', 'maintenance.yml').to_s }
config.default_maintenance_page = Turnout::MaintenancePage::HTML
config.default_reason = "This site is temporarily down for maintenance."
config.default_allowed_paths = ['/admin','/assets']
Expand Down

0 comments on commit e39b8cf

Please sign in to comment.