]> git.openstreetmap.org Git - rails.git/commitdiff
/diary no longer requires login
authorRichard Fairhurst <richard@systemed.net>
Sat, 5 May 2007 15:52:11 +0000 (15:52 +0000)
committerRichard Fairhurst <richard@systemed.net>
Sat, 5 May 2007 15:52:11 +0000 (15:52 +0000)
app/controllers/diary_entry_controller.rb

index a67ad575a99b52b1193e1965fe684f4bf69f9420..afa2722a1f99ab82782eb2610468dd0e49d0bb09 100644 (file)
@@ -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]