projects
/
rails.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Localisation updates from https://translatewiki.net.
[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 d21a6449781e8779009e7bedb7be71159a887630..c152c6272266a352c9d2f1d5b5dbfcf6b2d81263 100644
(file)
--- a/
app/controllers/api/notes_controller.rb
+++ b/
app/controllers/api/notes_controller.rb
@@
-9,6
+9,7
@@
module Api
before_action :set_locale
around_action :api_call_handle_error, :api_call_timeout
+ before_action :set_request_formats, :except => [:feed]
##
# Return a list of notes in a given area