Browse files

Merge pull request #644 from DGaffney/patch-1

Fix syntax shift deprecated post 0.12.0
  • Loading branch information...
2 parents 918c993 + cbbdd58 commit d15699165d8264a09b02f658a781eee0e9a39e69 @smtlaissezfaire smtlaissezfaire committed on GitHub Jul 25, 2016
Showing with 4 additions and 8 deletions.
  1. +4 −8 documentation/plugins/index.textile
View
12 documentation/plugins/index.textile
@@ -17,16 +17,12 @@ module ActsAsListFu
key :position, Integer, :default => 1
end
- module ClassMethods
- def reorder(ids)
- # reorder ids...
- end
+ def self.reorder(ids)
+ # reorder ids...
end
- module InstanceMethods
- def move_to_top
- # move to top
- end
+ def move_to_top
+ # move to top
end
end
{% endhighlight %}

0 comments on commit d156991

Please sign in to comment.