Commit 456de99b authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #8101 from cirosantilli/rm-project-id-admin-project-controller

Remove param[:project_id] at admin controller
parents fb5c1dd8 6a73b76c
......@@ -31,9 +31,7 @@ class Admin::ProjectsController < Admin::ApplicationController
protected
def project
id = params[:project_id] || params[:id]
@project = Project.find_with_namespace(id)
@project = Project.find_with_namespace(params[:id])
@project || render_404
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment