##// END OF EJS Templates
remove trailing white-spaces from app/controllers/issue_categories_controller.rb...
Toshi MARUYAMA -
r10411:3bda16f82580
parent child
Show More
@@ -23,7 +23,7 class IssueCategoriesController < ApplicationController
23 23 before_filter :find_project_by_project_id, :only => [:index, :new, :create]
24 24 before_filter :authorize
25 25 accept_api_auth :index, :show, :create, :update, :destroy
26
26
27 27 def index
28 28 respond_to do |format|
29 29 format.html { redirect_to :controller => 'projects', :action => 'settings', :tab => 'categories', :id => @project }
@@ -92,7 +92,7 class IssueCategoriesController < ApplicationController
92 92
93 93 def destroy
94 94 @issue_count = @category.issues.size
95 if @issue_count == 0 || params[:todo] || api_request?
95 if @issue_count == 0 || params[:todo] || api_request?
96 96 reassign_to = nil
97 97 if params[:reassign_to_id] && (params[:todo] == 'reassign' || params[:todo].blank?)
98 98 reassign_to = @project.issue_categories.find_by_id(params[:reassign_to_id])
General Comments 0
You need to be logged in to leave comments. Login now