代码错误

This commit is contained in:
Tim 2016-01-29 16:51:46 +08:00
parent 82e4fe1610
commit fa70e8a714
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ class IssuesController < ApplicationController
@priority_id = params[:priority_id]
@status_id = params[:status_id]
@subject = params[:subject]
@done_ratio = parmas[:done_ratio]
@done_ratio = params[:done_ratio]
@issue_count = @query.issue_count
@issue_pages = Paginator.new @issue_count, @limit, params['page']
params[:page] = (params[:page] || 1).to_i + 1 #页码需要加1