Skip to content

Commit

Permalink
Order controller's alias methods alphabetically
Browse files Browse the repository at this point in the history
  • Loading branch information
mtaylorgds authored and syed-ali-tw committed Feb 7, 2025
1 parent 2245085 commit 2ef6c5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/editions_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ def show
render action: "show"
end

alias_method :admin, :show
alias_method :metadata, :show
alias_method :tagging, :show
alias_method :unpublish, :show
alias_method :admin, :show

def duplicate
command = EditionDuplicator.new(@resource, current_user)
Expand Down

0 comments on commit 2ef6c5d

Please sign in to comment.