Skip to content

Commit

Permalink
Autocorrect rubocop Performance/StringIdentifierArgument violation
Browse files Browse the repository at this point in the history
  • Loading branch information
corylown committed Dec 18, 2023
1 parent f1b724e commit 2fced04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/oai_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class OaiController < ApplicationController

def show
verb = params.require(:verb)
send("render_#{verb.underscore}")
send(:"render_#{verb.underscore}")
rescue ActionController::ParameterMissing
raise OaiConcern::BadVerb
end
Expand Down

0 comments on commit 2fced04

Please sign in to comment.