diff options
| author | mo khan <mo@mokhan.ca> | 2013-07-01 19:05:31 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2013-07-01 19:05:31 -0700 |
| commit | c31ddfe59f7bd3340e8c1f604ba9a8d6efcb1bd5 (patch) | |
| tree | af2d3cb109b7dbba168bede257d0245d88c7ff00 /app/models/tutorial.rb | |
| parent | 282e001c632184d69d1ac82be77929bfd2603b74 (diff) | |
fix broken specs
Diffstat (limited to 'app/models/tutorial.rb')
| -rw-r--r-- | app/models/tutorial.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/tutorial.rb b/app/models/tutorial.rb index e8c3fa95..95641fb2 100644 --- a/app/models/tutorial.rb +++ b/app/models/tutorial.rb @@ -1,6 +1,6 @@ class Tutorial < ActiveRecord::Base include PublicActivity::Model - tracked + tracked owner: Proc.new{ |controller, model| controller.current_user } attr_accessible :description, :heading, :url, :image_url, :user_id, :author, :author_url validates :url, :presence => true belongs_to :user |
