tag search bugs modified。

This commit is contained in:
william 2013-08-19 08:44:01 +08:00
parent 6521ab2ce9
commit 09b98cbcc6
2 changed files with 1 additions and 2 deletions

View File

@ -368,7 +368,6 @@ class ProjectsController < ApplicationController
else
render :layout => "base"
end
# hide project in layout
@project = nil
end

View File

@ -28,7 +28,7 @@
<div class="spaceleft">
<!--informations-->
<div class="inf_user_image">
<% @project = Project.find(@project.id)%>
<% @project = Project.find_by_id(@project.id)%>
<table>
<tr>
<td><%= link_to image_tag(url_to_avatar(@project), :class => 'avatar2') %></td>