修改右键项目分数页面报500的BUG
This commit is contained in:
parent
56150e44ce
commit
74f9bc6404
|
@ -842,7 +842,10 @@ class ProjectsController < ApplicationController
|
|||
end
|
||||
|
||||
def show_projects_score
|
||||
render :layout => false
|
||||
respond_to do |format|
|
||||
format.html { render :layout => "project_base"}
|
||||
format.js
|
||||
end
|
||||
end
|
||||
|
||||
def issue_score_index
|
||||
|
|
|
@ -66,6 +66,6 @@
|
|||
</ul>
|
||||
</div>
|
||||
<div id="show_score_detail">
|
||||
<%= render :partial => 'projects/project_score_index', :locals => {:index => 0 } %>
|
||||
<%= render :partial => 'projects/project_score_index', :locals => {:index => 0,:project => @project } %>
|
||||
</div>
|
||||
<% end %>
|
Loading…
Reference in New Issue