aboutsummaryrefslogtreecommitdiffstats
path: root/app/models
diff options
context:
space:
mode:
authorPhilip Arndt <parndt@gmail.com>2012-01-28 20:03:11 -0800
committerPhilip Arndt <parndt@gmail.com>2012-01-28 20:03:11 -0800
commitf8cd5804ad8a26e59e2a2b18f624678934a3641b (patch)
treef2a88300b88a240315e37f7d4e16d4f96e8ecf08 /app/models
parentd8bdcb482ce51205bfdde0b39a02f7eba49e23e9 (diff)
parentc89b4dfc1f9f3dea8d7b39cfdc85cae211c6f2c1 (diff)
downloadrefinerycms-blog-f8cd5804ad8a26e59e2a2b18f624678934a3641b.tar.gz
refinerycms-blog-f8cd5804ad8a26e59e2a2b18f624678934a3641b.tar.bz2
refinerycms-blog-f8cd5804ad8a26e59e2a2b18f624678934a3641b.zip
Merge pull request #187 from substantial/rails-3-2-compat
Rails 3 2 compat
Diffstat (limited to 'app/models')
-rw-r--r--app/models/refinery/blog/post.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/refinery/blog/post.rb b/app/models/refinery/blog/post.rb
index 1eae99a..c119e44 100644
--- a/app/models/refinery/blog/post.rb
+++ b/app/models/refinery/blog/post.rb
@@ -52,7 +52,7 @@ module Refinery
live.includes(:categories).where(:categories => { Refinery::Categorization.table_name => { :blog_category_id => nil } })
}
- attr_accessible :title, :body, :custom_teaser, :tag_list, :draft, :published_at, :custom_url
+ attr_accessible :title, :body, :custom_teaser, :tag_list, :draft, :published_at, :custom_url, :author
attr_accessible :browser_title, :meta_keywords, :meta_description, :user_id, :category_ids
attr_accessible :source_url, :source_url_title
@@ -118,4 +118,4 @@ module Refinery
end
end
-end \ No newline at end of file
+end