From 30238292f8439d46d00b2de1e3ac2f44c393c14e Mon Sep 17 00:00:00 2001 From: Gregor Schmidt Date: Mon, 5 Dec 2011 16:23:51 +0100 Subject: [PATCH] white space --- lib/printable_issues/issues_controller_patch.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/printable_issues/issues_controller_patch.rb b/lib/printable_issues/issues_controller_patch.rb index 3d34d28708..6a6d2aba47 100644 --- a/lib/printable_issues/issues_controller_patch.rb +++ b/lib/printable_issues/issues_controller_patch.rb @@ -8,10 +8,10 @@ module IssuesControllerPatch base.class_eval do before_filter :find_optional_project, :only => self.filter_chain.select{|f| f.method == :find_optional_project}[0].options[:only] + [:printable] - + before_filter :authorize, :except => self.filter_chain.select{|f| f.method == :authorize}[0].options[:except] + [:printable] - + accept_key_auth :printable end end @@ -35,7 +35,7 @@ module IssuesControllerPatch :offset => 0, :order => sort_clause) @issue_count_by_group = @query.issue_count_by_group - + @columns = @query.columns.reject{|c| %w(subject).include? c.name.to_s} respond_to do |format| @@ -52,4 +52,4 @@ module IssuesControllerPatch end end -IssuesController.send(:include, PrintableIssues::IssuesControllerPatch) \ No newline at end of file +IssuesController.send(:include, PrintableIssues::IssuesControllerPatch)