8db2a59d0b
Instead of doing this: link_to(commit.id, project_commit_path(project, id: commit.id)) Note.create(noteable_id: commit.id, noteable_type: "Commit", ...) It lets us do this: link_to(commit.id, project_commit_path(project, commit)) Note.create(noteable: commit, ...) |
||
---|---|---|
.. | ||
account.rb | ||
authority.rb | ||
git_host.rb | ||
issue_commonality.rb | ||
push_event.rb | ||
push_observer.rb | ||
repository.rb | ||
static_model.rb | ||
team.rb | ||
upvote.rb |