projects
/
rails.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote-tracking branch 'upstream/pull/2330'
[rails.git]
/
app
/
controllers
/
api
/
notes_controller.rb
diff --git
a/app/controllers/api/notes_controller.rb
b/app/controllers/api/notes_controller.rb
index 92b68bd4616f892f9d9ae5ffd1ec0f399e94de37..20a24ce997bbe10a6aaf546d2f0131b91a4abb47 100644
(file)
--- a/
app/controllers/api/notes_controller.rb
+++ b/
app/controllers/api/notes_controller.rb
@@
-5,7
+5,6
@@
module Api
before_action :check_api_readable
before_action :setup_user_auth, :only => [:create, :comment, :show]
before_action :authorize, :only => [:close, :reopen, :destroy]
- before_action :api_deny_access_handler
authorize_resource