Fix different styles/button positions
This commit is contained in:
parent
72a13fcc2e
commit
23a1ba7362
7 changed files with 80 additions and 27 deletions
|
@ -5,6 +5,10 @@ class Snippet < ActiveRecord::Base
|
|||
belongs_to :author, :class_name => "User"
|
||||
has_many :notes, :as => :noteable
|
||||
|
||||
delegate :name,
|
||||
:email,
|
||||
:to => :author,
|
||||
:prefix => true
|
||||
attr_protected :author, :author_id, :project, :project_id
|
||||
|
||||
validates_presence_of :project_id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue