diff app/controllers/journals_controller.rb @ 117:af80e5618e9b redmine-1.1

* Update to Redmine 1.1-stable branch (Redmine SVN rev 4707)
author Chris Cannam
date Thu, 13 Jan 2011 12:53:21 +0000
parents 1d32c0a0efbf
children 051f544170fe
line wrap: on
line diff
--- a/app/controllers/journals_controller.rb	Fri Nov 19 14:05:24 2010 +0000
+++ b/app/controllers/journals_controller.rb	Thu Jan 13 12:53:21 2011 +0000
@@ -19,6 +19,7 @@
   before_filter :find_journal, :only => [:edit]
   before_filter :find_issue, :only => [:new]
   before_filter :find_optional_project, :only => [:index]
+  before_filter :authorize, :only => [:new, :edit]
   accept_key_auth :index
 
   helper :issues