RubyGems
npm
Organizations
Log in
Sign up
RubyGems
honey-cms
Versions diffs
0.3.9 → 0.3.10
honey-cms 0.3.9 → 0.3.10
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
data/lib/cms/orderable.rb
+1
-1
metadata
+1
-1
data/lib/cms/orderable.rb
CHANGED
@@ -10,7 +10,7 @@ module CMS::Orderable
10
10
end
11
11
12
12
module ClassMethods
13
-
def orderable name, options
13
+
def orderable name, options
= {}
14
14
default_scope order(name)
15
15
after_save :"order_#{name}"
16
16
if options[:order_scope] then order_scope(options[:order_scope]) end
metadata
CHANGED
@@ -1,7 +1,7 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: honey-cms
3
3
version: !ruby/object:Gem::Version
4
-
version: 0.3.
9
4
+
version: 0.3.
10
5
5
prerelease:
6
6
platform: ruby
7
7
authors: