summaryrefslogtreecommitdiffstats
path: root/app/controllers/watchers_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/watchers_controller.rb')
-rw-r--r--app/controllers/watchers_controller.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/controllers/watchers_controller.rb b/app/controllers/watchers_controller.rb
index 8a4ce5286..c51722b6a 100644
--- a/app/controllers/watchers_controller.rb
+++ b/app/controllers/watchers_controller.rb
@@ -20,10 +20,6 @@ class WatchersController < ApplicationController
before_filter :require_login, :check_project_privacy, :only => [:watch, :unwatch]
before_filter :authorize, :only => [:new, :destroy]
- verify :method => :post,
- :only => [ :watch, :unwatch ],
- :render => { :nothing => true, :status => :method_not_allowed }
-
def watch
if @watched.respond_to?(:visible?) && !@watched.visible?(User.current)
render_403