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, ...) |
||
---|---|---|
.. | ||
assets | ||
contexts | ||
controllers | ||
decorators | ||
helpers | ||
mailers | ||
models | ||
observers | ||
roles | ||
uploaders | ||
views | ||
workers |