devape_cms 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/app/models/post.rb +5 -5
  2. metadata +1 -1
data/app/models/post.rb CHANGED
@@ -1,9 +1,9 @@
1
1
  class Post < ActiveRecord::Base
2
2
  set_table_name "devape_cms_posts"
3
3
  acts_as_tree
4
- #has_and_belongs_to_many :categories
5
- #belongs_to :admin
6
- #has_many :contents
7
- #validates_presence_of :title
8
- #has_friendly_id :title, :use_slug => true
4
+ has_and_belongs_to_many :categories
5
+ belongs_to :admin
6
+ has_many :contents
7
+ validates_presence_of :title
8
+ has_friendly_id :title, :use_slug => true
9
9
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: devape_cms
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.0
5
+ version: 0.1.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - John Kealy