From 88a206b0f2979caf066a3127afd3cd71b39da7c8 Mon Sep 17 00:00:00 2001 From: Richard Fairhurst Date: Sat, 5 May 2007 15:52:11 +0000 Subject: [PATCH 1/1] /diary no longer requires login --- app/controllers/diary_entry_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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] -- 2.43.2