redditor 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/redditor/admin/pages_controller.rb +1 -1
- data/lib/redditor/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dea55399ec72c3758f76bcfa1c6affa14e795b1a
|
4
|
+
data.tar.gz: f9714cee23292cb0d62eca3109054194954ca7d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9229d2406979e19c63d7ca55aa4069ec74068f04534ca55ee14f3690add41c1c4514dc10bda85ddecb0dbcec7ab65ce12482c2e33a1770d5cd605fe3abb4e0f3
|
7
|
+
data.tar.gz: e8257ebbfdff12044041686809819f5b7735ec053a813033fb576e1a8f0990efba5071016e9b2f44b746d2e759c014d362d42ce651c8ea9187e5b9c0fb19adb9
|
@@ -6,7 +6,7 @@ class Redditor::Admin::PagesController < Redditor::Admin::BaseController
|
|
6
6
|
def sort
|
7
7
|
params[:sort].each do |k, v|
|
8
8
|
v.each do |klass, info|
|
9
|
-
"Redditor::#{klass.camelcase}".constantize.find_by_id(info[:index]).update_attributes(position: info[:position]) rescue nil
|
9
|
+
"Redditor::#{klass.camelcase.gsub('Redditor::', '')}".constantize.find_by_id(info[:index]).update_attributes(position: info[:position]) rescue nil
|
10
10
|
end
|
11
11
|
end
|
12
12
|
|
data/lib/redditor/version.rb
CHANGED