mirror of
https://github.com/openstreetmap/openstreetmap-website.git
synced 2025-08-20 16:11:02 +00:00
Refactor api controllers to inherit from a common ApiController
This commit is contained in:
@ -1,6 +1,5 @@
|
||||
module Api
|
||||
class ChangesetCommentsController < ApplicationController
|
||||
skip_before_action :verify_authenticity_token
|
||||
class ChangesetCommentsController < ApiController
|
||||
before_action :authorize
|
||||
before_action :api_deny_access_handler
|
||||
|
||||
|
Reference in New Issue
Block a user