Find the project by id and identifier too
This commit is contained in:
parent
fe059714e7
commit
b7e644927f
@ -474,9 +474,11 @@ private
|
||||
elsif params[:project_id]
|
||||
@project = Project.find_by_id params[:project_id]
|
||||
else
|
||||
@project = Project.find_by_identifier params[:id]
|
||||
@project = Project.find params[:id]
|
||||
end
|
||||
end
|
||||
rescue ActiveRecord::RecordNotFound
|
||||
render_404
|
||||
end
|
||||
|
||||
def workflows_layout
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user