Skip to content

Commit

Permalink
Rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
mo-nathan committed Jan 18, 2025
1 parent 12a46ed commit edecd37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/projects/aliases_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def create
project_alias_redirect(@project_alias)
end
else
@project_alias = ProjectAlias.new(project_id: params.require(:project_id))
@project_alias = ProjectAlias.new(project_id: params[:project_id])
format.html { render(:new) }
format.json do
render(json: @project_alias.errors, status: :unprocessable_entity)
Expand Down

0 comments on commit edecd37

Please sign in to comment.