Fully embrace Ruby 1.9 hash syntax
Didn't bother with files in db/, config/, or features/
This commit is contained in:
parent
1413c23c50
commit
7754189187
257 changed files with 1449 additions and 1449 deletions
|
@ -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])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue