Browse Source

remove trailing white-spaces from app/controllers/issue_categories_controller.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10622 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/2.2.0
Toshi MARUYAMA 11 years ago
parent
commit
3bda16f825
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      app/controllers/issue_categories_controller.rb

+ 2
- 2
app/controllers/issue_categories_controller.rb View File

@@ -23,7 +23,7 @@ class IssueCategoriesController < ApplicationController
before_filter :find_project_by_project_id, :only => [:index, :new, :create]
before_filter :authorize
accept_api_auth :index, :show, :create, :update, :destroy
def index
respond_to do |format|
format.html { redirect_to :controller => 'projects', :action => 'settings', :tab => 'categories', :id => @project }
@@ -92,7 +92,7 @@ class IssueCategoriesController < ApplicationController

def destroy
@issue_count = @category.issues.size
if @issue_count == 0 || params[:todo] || api_request?
if @issue_count == 0 || params[:todo] || api_request?
reassign_to = nil
if params[:reassign_to_id] && (params[:todo] == 'reassign' || params[:todo].blank?)
reassign_to = @project.issue_categories.find_by_id(params[:reassign_to_id])

Loading…
Cancel
Save