X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8758685a86c3032a412183a53399e3e77dae75a1..e5a5f957ef46d76ec78e2c0450b50a086dff82b6:/app/controllers/diary_entry_controller.rb diff --git a/app/controllers/diary_entry_controller.rb b/app/controllers/diary_entry_controller.rb index a67ad575a..afa2722a1 100644 --- a/app/controllers/diary_entry_controller.rb +++ b/app/controllers/diary_entry_controller.rb @@ -1,8 +1,8 @@ class DiaryEntryController < ApplicationController layout 'site' - before_filter :authorize_web - before_filter :require_user + before_filter :authorize_web, :only => [:new] + before_filter :require_user, :only => [:new] def new if params[:diary_entry]