X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/5620d7263a36fe842f4d97bc21dda5edd0651b37..97aefa23d0606edaee71d04cf6c1a2006689b1fa:/app/controllers/diary_entry_controller.rb diff --git a/app/controllers/diary_entry_controller.rb b/app/controllers/diary_entry_controller.rb index a3b37b931..5159f7362 100644 --- a/app/controllers/diary_entry_controller.rb +++ b/app/controllers/diary_entry_controller.rb @@ -3,6 +3,7 @@ class DiaryEntryController < ApplicationController before_filter :authorize_web before_filter :require_user, :only => [:new] + before_filter :check_database_availability def new @title = 'new diary entry'