From 775418918782d5284000ed0bfea364458c748567 Mon Sep 17 00:00:00 2001 From: Robert Speicher Date: Fri, 10 Aug 2012 18:07:50 -0400 Subject: Fully embrace Ruby 1.9 hash syntax Didn't bother with files in db/, config/, or features/ --- app/contexts/commit_load.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'app/contexts/commit_load.rb') diff --git a/app/contexts/commit_load.rb b/app/contexts/commit_load.rb index bab30d61007..f57c49692ca 100644 --- a/app/contexts/commit_load.rb +++ b/app/contexts/commit_load.rb @@ -1,11 +1,11 @@ class CommitLoad < BaseContext def execute result = { - :commit => nil, - :suppress_diff => false, - :line_notes => [], - :notes_count => 0, - :note => nil + commit: nil, + suppress_diff: false, + line_notes: [], + notes_count: 0, + note: nil } commit = project.commit(params[:id]) -- cgit v1.2.1