Fix different styles/button positions

This commit is contained in:
Dmitriy Zaporozhets 2011-12-08 01:35:57 +02:00
parent 72a13fcc2e
commit 23a1ba7362
7 changed files with 80 additions and 27 deletions

View file

@ -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