Reverted r9464 that broke a test. Project identifiers or ids can be used as parameters.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9465 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
72ab3e22b1
commit
9305c84093
|
@ -109,7 +109,7 @@ private
|
||||||
@watched = klass.find(params[:object_id])
|
@watched = klass.find(params[:object_id])
|
||||||
@project = @watched.project
|
@project = @watched.project
|
||||||
elsif params[:project_id]
|
elsif params[:project_id]
|
||||||
@project = Project.visible.find_by_identifier(params[:project_id])
|
@project = Project.visible.find(params[:project_id])
|
||||||
end
|
end
|
||||||
rescue
|
rescue
|
||||||
render_404
|
render_404
|
||||||
|
|
Loading…
Reference in New Issue