summaryrefslogtreecommitdiffstats
path: root/app/controllers/reports_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-01-28 00:00:21 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-01-28 00:00:21 +0000
commit99c560295fca5a51a48dd5d3edff6dc796b3f8fd (patch)
tree38ef926ff7991134983821b1c460e4318e3b3e3f /app/controllers/reports_controller.rb
parent90c7cf9763bd02bc832dc20be757e9e2c6b9b616 (diff)
downloadredmine-99c560295fca5a51a48dd5d3edff6dc796b3f8fd.tar.gz
redmine-99c560295fca5a51a48dd5d3edff6dc796b3f8fd.zip
indentation corrections
git-svn-id: http://redmine.rubyforge.org/svn/trunk@201 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/reports_controller.rb')
-rw-r--r--app/controllers/reports_controller.rb24
1 files changed, 12 insertions, 12 deletions
diff --git a/app/controllers/reports_controller.rb b/app/controllers/reports_controller.rb
index b825a8ac6..b27eb19ac 100644
--- a/app/controllers/reports_controller.rb
+++ b/app/controllers/reports_controller.rb
@@ -16,9 +16,9 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
class ReportsController < ApplicationController
- layout 'base'
- before_filter :find_project, :authorize
-
+ layout 'base'
+ before_filter :find_project, :authorize
+
def issue_report
@statuses = IssueStatus.find :all
@@ -104,8 +104,8 @@ private
rescue ActiveRecord::RecordNotFound
render_404
end
-
- def issues_by_tracker
+
+ def issues_by_tracker
@issues_by_tracker ||=
ActiveRecord::Base.connection.select_all("select s.id as status_id,
s.is_closed as closed,
@@ -118,9 +118,9 @@ private
and i.tracker_id=t.id
and i.project_id=#{@project.id}
group by s.id, s.is_closed, t.id")
- end
+ end
- def issues_by_priority
+ def issues_by_priority
@issues_by_priority ||=
ActiveRecord::Base.connection.select_all("select s.id as status_id,
s.is_closed as closed,
@@ -133,9 +133,9 @@ private
and i.priority_id=p.id
and i.project_id=#{@project.id}
group by s.id, s.is_closed, p.id")
- end
+ end
- def issues_by_category
+ def issues_by_category
@issues_by_category ||=
ActiveRecord::Base.connection.select_all("select s.id as status_id,
s.is_closed as closed,
@@ -148,9 +148,9 @@ private
and i.category_id=c.id
and i.project_id=#{@project.id}
group by s.id, s.is_closed, c.id")
- end
+ end
- def issues_by_author
+ def issues_by_author
@issues_by_author ||=
ActiveRecord::Base.connection.select_all("select s.id as status_id,
s.is_closed as closed,
@@ -163,5 +163,5 @@ private
and i.author_id=a.id
and i.project_id=#{@project.id}
group by s.id, s.is_closed, a.id")
- end
+ end
end