diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-08-30 13:03:57 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-08-30 13:03:57 +0000 |
commit | 4c803780d2238bc0cb5e801b086b242088816da5 (patch) | |
tree | ad5acb474d2ab58b92a1fc6733061536fdba3a8a /app/controllers/context_menus_controller.rb | |
parent | e028e542584fb9d6da2e9754b073f33a8e4b454c (diff) | |
download | redmine-4c803780d2238bc0cb5e801b086b242088816da5.tar.gz redmine-4c803780d2238bc0cb5e801b086b242088816da5.zip |
remove trailing white-spaces from app/controllers/context_menus_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6797 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/context_menus_controller.rb')
-rw-r--r-- | app/controllers/context_menus_controller.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/controllers/context_menus_controller.rb b/app/controllers/context_menus_controller.rb index 1e170396d..7e83d35d5 100644 --- a/app/controllers/context_menus_controller.rb +++ b/app/controllers/context_menus_controller.rb @@ -1,10 +1,10 @@ class ContextMenusController < ApplicationController helper :watchers helper :issues - + def issues @issues = Issue.visible.all(:conditions => {:id => params[:ids]}, :include => :project) - + if (@issues.size == 1) @issue = @issues.first @allowed_statuses = @issue.new_statuses_allowed_to(User.current) @@ -37,11 +37,11 @@ class ContextMenusController < ApplicationController @assignables = @projects.map(&:assignable_users).inject{|memo,a| memo & a} @trackers = @projects.map(&:trackers).inject{|memo,t| memo & t} end - + @priorities = IssuePriority.active.reverse @statuses = IssueStatus.find(:all, :order => 'position') @back = back_url - + render :layout => false end @@ -57,5 +57,5 @@ class ContextMenusController < ApplicationController } @back = back_url render :layout => false - end + end end |