Skip to content

Commit

Permalink
Remove unnecessary skip_before_action
Browse files Browse the repository at this point in the history
  • Loading branch information
moveson committed Nov 12, 2023
1 parent d686486 commit 32422df
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/controllers/api_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
class ApiController < ::ApplicationController
include Rails::Pagination
skip_forgery_protection
skip_before_action :verify_authenticity_token
before_action :authenticate_user!
after_action :verify_authorized
rescue_from ActiveRecord::RecordNotFound, with: :record_not_found_json
Expand Down

0 comments on commit 32422df

Please sign in to comment.