diff options
author | Robert Speicher <rspeicher@gmail.com> | 2012-08-10 18:07:50 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2012-08-10 18:25:15 -0400 |
commit | 775418918782d5284000ed0bfea364458c748567 (patch) | |
tree | c31e3633a3bcbed17b000f0165cf35edad41f7ca /app/contexts/commit_load.rb | |
parent | 1413c23c502d5a5cbc9b81f553a245103c1d6e50 (diff) | |
download | gitlab-ce-775418918782d5284000ed0bfea364458c748567.tar.gz |
Fully embrace Ruby 1.9 hash syntax
Didn't bother with files in db/, config/, or features/
Diffstat (limited to 'app/contexts/commit_load.rb')
-rw-r--r-- | app/contexts/commit_load.rb | 10 |
1 files changed, 5 insertions, 5 deletions
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]) |