]> source.dussan.org Git - redmine.git/commitdiff
indentation corrections
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 28 Jan 2007 00:00:21 +0000 (00:00 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 28 Jan 2007 00:00:21 +0000 (00:00 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@201 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/issue_categories_controller.rb
app/controllers/issue_statuses_controller.rb
app/controllers/members_controller.rb
app/controllers/news_controller.rb
app/controllers/reports_controller.rb
app/controllers/roles_controller.rb
app/controllers/trackers_controller.rb

index 1658e98c70162d2c09c4759049858615a3358109..a718b2c16083286643b8607bae4faff039172526 100644 (file)
@@ -16,9 +16,9 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.\r
 \r
 class IssueCategoriesController < ApplicationController
-       layout 'base'\r
-       before_filter :find_project, :authorize\r
-       \r
+  layout 'base'\r
+  before_filter :find_project, :authorize\r
+\r
   def edit
     if request.post? and @category.update_attributes(params[:category])
       flash[:notice] = l(:notice_successful_update)
index 18ca9c76d8bc916a17d43d1c62e2201a8a04d666..5c74fbd02da0647a8bf87c7ce61e14c71b2fdf93 100644 (file)
@@ -16,9 +16,9 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.\r
 \r
 class IssueStatusesController < ApplicationController\r
-       layout 'base'   
-       before_filter :require_admin\r
-       \r
+  layout 'base'        
+  before_filter :require_admin\r
+\r
   def index
     list
     render :action => 'list' unless request.xhr?
@@ -63,7 +63,5 @@ class IssueStatusesController < ApplicationController
   rescue\r
     flash[:notice] = "Unable to delete issue status"\r
     redirect_to :action => 'list'
-  end\r
-  \r
-       
+  end          
 end
index 089a18e6ad9815540d5d78b241a810b5f44a9381..884454aca397611cf361594858cc48f90b5c3ee4 100644 (file)
@@ -38,6 +38,5 @@ private
     @project = @member.project\r
   rescue ActiveRecord::RecordNotFound\r
     render_404\r
-  end  
-  
+  end
 end
index 0f2ae85c681cc0ae7e0d512b8756be725f7e4df2..2afd2050653ff53f98d23d92026e1d3f8ce41991 100644 (file)
@@ -16,8 +16,8 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.\r
 \r
 class NewsController < ApplicationController\r
-       layout 'base'\r
-       before_filter :find_project, :authorize\r
+  layout 'base'\r
+  before_filter :find_project, :authorize\r
 
   def show
   end
@@ -45,10 +45,10 @@ class NewsController < ApplicationController
     redirect_to :action => 'show', :id => @news\r
   end\r
 
-       def destroy
-               @news.destroy
-               redirect_to :controller => 'projects', :action => 'list_news', :id => @project
-       end\r
+  def destroy
+    @news.destroy
+    redirect_to :controller => 'projects', :action => 'list_news', :id => @project
+  end\r
   \r
 private\r
   def find_project\r
index b825a8ac6838dc602939d355f626ecac0c9ad205..b27eb19acf4ba3fb17ae9aa7f73686002acb477c 100644 (file)
@@ -16,9 +16,9 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.\r
 \r
 class ReportsController < ApplicationController\r
-       layout 'base'\r
-       before_filter :find_project, :authorize\r
-  \r
+  layout 'base'\r
+  before_filter :find_project, :authorize\r
+\r
   def issue_report\r
     @statuses = IssueStatus.find :all\r
     \r
@@ -104,8 +104,8 @@ private
   rescue ActiveRecord::RecordNotFound\r
     render_404\r
   end\r
-       \r
-       def issues_by_tracker\r
+\r
+  def issues_by_tracker\r
     @issues_by_tracker ||= \r
         ActiveRecord::Base.connection.select_all("select    s.id as status_id, \r
                                                   s.is_closed as closed, \r
@@ -118,9 +118,9 @@ private
                                                   and i.tracker_id=t.id\r
                                                   and i.project_id=#{@project.id}\r
                                                 group by s.id, s.is_closed, t.id")     \r
-       end\r
+  end\r
        \r
-       def issues_by_priority    \r
+  def issues_by_priority    \r
     @issues_by_priority ||= \r
       ActiveRecord::Base.connection.select_all("select    s.id as status_id, \r
                                                   s.is_closed as closed, \r
@@ -133,9 +133,9 @@ private
                                                   and i.priority_id=p.id\r
                                                   and i.project_id=#{@project.id}\r
                                                 group by s.id, s.is_closed, p.id")     \r
-       end\r
+  end\r
        \r
-       def issues_by_category   \r
+  def issues_by_category   \r
     @issues_by_category ||= \r
       ActiveRecord::Base.connection.select_all("select    s.id as status_id, \r
                                                   s.is_closed as closed, \r
@@ -148,9 +148,9 @@ private
                                                   and i.category_id=c.id\r
                                                   and i.project_id=#{@project.id}\r
                                                 group by s.id, s.is_closed, c.id")     \r
-       end\r
+  end\r
        \r
-       def issues_by_author\r
+  def issues_by_author\r
     @issues_by_author ||= \r
       ActiveRecord::Base.connection.select_all("select    s.id as status_id, \r
                                                   s.is_closed as closed, \r
@@ -163,5 +163,5 @@ private
                                                   and i.author_id=a.id\r
                                                   and i.project_id=#{@project.id}\r
                                                 group by s.id, s.is_closed, a.id")     \r
-       end
+  end
 end
index a4bee5dd1d1fbd9d67e6ac77c46793670144a3dc..ed7c6c200c96553a8493c98eb4b1356370ec4401 100644 (file)
@@ -16,9 +16,9 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.\r
 \r
 class RolesController < ApplicationController\r
-       layout 'base'   \r
-       before_filter :require_admin\r
-       
+  layout 'base'        \r
+  before_filter :require_admin\r
+
   def index
     list
     render :action => 'list' unless request.xhr?
index bbfb4f48b1f65ae47220cae5335635ecc3e3343d..186f8b7ae063b31993d41f62a6d9b003a159b91a 100644 (file)
@@ -56,6 +56,5 @@ class TrackersController < ApplicationController
       @tracker.destroy\r
     end
     redirect_to :action => 'list'
-  end\r
-  
+  end  
 end