]> source.dussan.org Git - redmine.git/commitdiff
remove trailing white-spaces from app/controllers/versions_controller.rb.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 28 Aug 2011 06:49:08 +0000 (06:49 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 28 Aug 2011 06:49:08 +0000 (06:49 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6691 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/versions_controller.rb

index 0c41355814863e0ccb737907c1ba546f5fa08047..ed61fbb068c6eb441c6396048ecf0aed3bf9e6c7 100644 (file)
@@ -5,12 +5,12 @@
 # modify it under the terms of the GNU General Public License
 # as published by the Free Software Foundation; either version 2
 # of the License, or (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
@@ -24,7 +24,7 @@ class VersionsController < ApplicationController
   before_filter :authorize
 
   accept_api_auth :index, :create, :update, :destroy
-  
+
   helper :custom_fields
   helper :projects
 
@@ -35,12 +35,12 @@ class VersionsController < ApplicationController
         retrieve_selected_tracker_ids(@trackers, @trackers.select {|t| t.is_in_roadmap?})
         @with_subprojects = params[:with_subprojects].nil? ? Setting.display_subprojects_issues? : (params[:with_subprojects] == '1')
         project_ids = @with_subprojects ? @project.self_and_descendants.collect(&:id) : [@project.id]
-        
+
         @versions = @project.shared_versions || []
         @versions += @project.rolled_up_versions.visible if @with_subprojects
         @versions = @versions.uniq.sort
         @versions.reject! {|version| version.closed? || version.completed? } unless params[:completed]
-        
+
         @issues_by_version = {}
         unless @selected_tracker_ids.empty?
           @versions.each do |version|
@@ -58,7 +58,7 @@ class VersionsController < ApplicationController
       }
     end
   end
-  
+
   def show
     respond_to do |format|
       format.html {
@@ -69,7 +69,7 @@ class VersionsController < ApplicationController
       format.api
     end
   end
-  
+
   def new
     @version = @project.versions.build
     if params[:version]
@@ -119,7 +119,7 @@ class VersionsController < ApplicationController
 
   def edit
   end
-  
+
   def update
     if request.put? && params[:version]
       attributes = params[:version].dup
@@ -140,7 +140,7 @@ class VersionsController < ApplicationController
       end
     end
   end
-  
+
   def close_completed
     if request.put?
       @project.close_completed_versions
@@ -166,7 +166,7 @@ class VersionsController < ApplicationController
       end
     end
   end
-  
+
   def status_by
     respond_to do |format|
       format.html { render :action => 'show' }