From 64d9292ffe193e777999f09ecc5bc3bdf194debb Mon Sep 17 00:00:00 2001 From: Sebastian Schuster Date: Wed, 10 Apr 2013 15:00:00 +0200 Subject: [PATCH] Removed blanks --- app/controllers/issue_boxes_controller.rb | 10 +++++----- app/controllers/rb_queries_controller.rb | 1 - .../{show.html.erb => index.html.erb} | 0 3 files changed, 5 insertions(+), 6 deletions(-) rename app/views/rb_master_backlogs/{show.html.erb => index.html.erb} (100%) diff --git a/app/controllers/issue_boxes_controller.rb b/app/controllers/issue_boxes_controller.rb index cfdb0151f7..39cdc01f00 100644 --- a/app/controllers/issue_boxes_controller.rb +++ b/app/controllers/issue_boxes_controller.rb @@ -19,10 +19,10 @@ class IssueBoxesController < IssuesController format.js { render :partial => 'show' } end end - + def edit return redirect_to edit_issue_path(params[:id]) unless request.xhr? - + update_issue_from_params load_journals @journal = @issue.current_journal @@ -31,10 +31,10 @@ class IssueBoxesController < IssuesController format.js { render :partial => 'edit' } end end - + def update update_issue_from_params - + if @issue.save_issue_with_child_records(params, @time_entry) @issue.reload load_journals @@ -48,7 +48,7 @@ class IssueBoxesController < IssuesController end end end - + private def load_journals diff --git a/app/controllers/rb_queries_controller.rb b/app/controllers/rb_queries_controller.rb index 7fade4ee2c..9173d5a33d 100644 --- a/app/controllers/rb_queries_controller.rb +++ b/app/controllers/rb_queries_controller.rb @@ -21,5 +21,4 @@ class RbQueriesController < RbApplicationController session[:query] = {:project_id => @query.project_id, :filters => @query.filters, :column_names => column_names} redirect_to :controller => 'issues', :action => 'index', :project_id => @project.id, :sort => 'position' end - end \ No newline at end of file diff --git a/app/views/rb_master_backlogs/show.html.erb b/app/views/rb_master_backlogs/index.html.erb similarity index 100% rename from app/views/rb_master_backlogs/show.html.erb rename to app/views/rb_master_backlogs/index.html.erb