##// END OF EJS Templates
Rails3: use Project.visible.find_by_identifier instead of .find for adding watchers dialog on new issue...
Toshi MARUYAMA -
r9330:72ab3e22b180
parent child
Show More
@@ -109,7 +109,7 private
109 109 @watched = klass.find(params[:object_id])
110 110 @project = @watched.project
111 111 elsif params[:project_id]
112 @project = Project.visible.find(params[:project_id])
112 @project = Project.visible.find_by_identifier(params[:project_id])
113 113 end
114 114 rescue
115 115 render_404
General Comments 0
You need to be logged in to leave comments. Login now