lib/generators/buildybuild/cms/templates/cms_model.rb in buildybuild-1.0.0 vs lib/generators/buildybuild/cms/templates/cms_model.rb in buildybuild-1.1.0

- old
+ new

@@ -1,9 +1,9 @@ -class <%= klass %> +class <%= klass %> < ActiveRecord::Base attr_accessible :body, :name, :slug - default_scope order('created_at DESC, updated_at DESC')\n + default_scope order('created_at DESC, updated_at DESC') validates_uniqueness_of :name before_save :update_slug