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/4210'
[rails.git]
/
app
/
controllers
/
api
/
map_controller.rb
diff --git
a/app/controllers/api/map_controller.rb
b/app/controllers/api/map_controller.rb
index 1b5150537bccb8299a990d4e0c47b20598a7df53..0d123fc3e7851f2d0eae4748d4cacf38575e8e47 100644
(file)
--- a/
app/controllers/api/map_controller.rb
+++ b/
app/controllers/api/map_controller.rb
@@
-1,8
+1,9
@@
module Api
class MapController < ApiController
+ before_action :check_api_readable
+
authorize_resource :class => false
- before_action :check_api_readable
around_action :api_call_handle_error, :api_call_timeout
before_action :set_request_formats