X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/a1378a6bd4cdeca537856650e6ea7321ae6eca26..3d5ee2675b65030ef233ff95c58a70547c6f3995:/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'