Skip to content
Snippets Groups Projects
  1. Jan 04, 2013
  2. Jan 02, 2013
  3. Oct 13, 2012
  4. Sep 26, 2012
  5. Sep 02, 2012
    • Robert Speicher's avatar
      Add StaticModel role, and add it to Commit model · 8db2a59d
      Robert Speicher authored
      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, ...)
      8db2a59d
Loading