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 else
render :layout => "base" render :layout => "base"
end end
# hide project in layout # hide project in layout
@project = nil @project = nil
end end

View File

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