flame 3.2.1 → 3.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/flame/controller.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: 8d56480a76f309437a815068dc46798bff1f3eda
|
4
|
+
data.tar.gz: 41544a764ed20300aefeceea0522138ba373a8a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aad138df611e1abbaff6c91eb83f171e932df2e46d592989b39f4eb0d18c1a2e4ebbfc1e5b11d2f23e5d3305c4ea673d251c8908bb525fa2a9f01fc9528c2606
|
7
|
+
data.tar.gz: 680b01ef29626ff4bca78c7d69a07c8ab0fdc29aeff980f77de10babc551c3183f64c9b8b41cfca2e5885098d83a273e6033493814461bc9ae865e301488f237
|
data/lib/flame/controller.rb
CHANGED
@@ -41,7 +41,7 @@ module Flame
|
|
41
41
|
using GorillaPatch::StringExt
|
42
42
|
|
43
43
|
def self.default_path(last = false)
|
44
|
-
(name.split('::').last.underscore.split('_') - %w(controller ctrl))
|
44
|
+
(name.split('::').last.underscore.split('_') - %w(index controller ctrl))
|
45
45
|
.join('/').split('/')
|
46
46
|
.unshift(nil)[(last ? -1 : 0)..-1].join('/')
|
47
47
|
end
|