openstreetmap-website/app/controllers/api
Andy Allan dad36f2fca Use a lambda in order to pass parameters in before_actions
This avoid calling methods on a new instance of the controller, and
therefore allows these methods to be marked as private.

As a bonus, rubocop can now parse them and warn when they refer to
actions that don't exist in the controller.
2019-03-20 15:08:36 +01:00
..
amf_controller.rb Refactor api controllers to inherit from a common ApiController 2019-03-20 14:16:15 +01:00
capabilities_controller.rb Simplify deny_access handling 2019-03-20 14:39:17 +01:00
changes_controller.rb Simplify deny_access handling 2019-03-20 14:39:17 +01:00
changeset_comments_controller.rb Simplify deny_access handling 2019-03-20 14:39:17 +01:00
changesets_controller.rb Use a lambda in order to pass parameters in before_actions 2019-03-20 15:08:36 +01:00
map_controller.rb Simplify deny_access handling 2019-03-20 14:39:17 +01:00
nodes_controller.rb Simplify deny_access handling 2019-03-20 14:39:17 +01:00
notes_controller.rb Simplify deny_access handling 2019-03-20 14:39:17 +01:00
old_controller.rb Simplify deny_access handling 2019-03-20 14:39:17 +01:00
old_nodes_controller.rb Move node/way/relation/old_* controllers into the api namespace 2019-02-28 17:12:28 +01:00
old_relations_controller.rb Move node/way/relation/old_* controllers into the api namespace 2019-02-28 17:12:28 +01:00
old_ways_controller.rb Move node/way/relation/old_* controllers into the api namespace 2019-02-28 17:12:28 +01:00
permissions_controller.rb Simplify deny_access handling 2019-03-20 14:39:17 +01:00
relations_controller.rb Simplify deny_access handling 2019-03-20 14:39:17 +01:00
search_controller.rb Refactor api controllers to inherit from a common ApiController 2019-03-20 14:16:15 +01:00
swf_controller.rb Refactor api controllers to inherit from a common ApiController 2019-03-20 14:16:15 +01:00
tracepoints_controller.rb Simplify deny_access handling 2019-03-20 14:39:17 +01:00
traces_controller.rb Simplify deny_access handling 2019-03-20 14:39:17 +01:00
user_preferences_controller.rb Refactor api controllers to inherit from a common ApiController 2019-03-20 14:16:15 +01:00
users_controller.rb Simplify deny_access handling 2019-03-20 14:39:17 +01:00
ways_controller.rb Simplify deny_access handling 2019-03-20 14:39:17 +01:00