morse_controller_helpers 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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c71cb983806abd4be828af94e23eeb90df5d0e6
|
4
|
+
data.tar.gz: 1647e769fd0582af2934596f0c71ab80ebb41cec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e27568c2d434a4990c6cf1ed9588be881c8f5e50d4bf6520aa9e2d7bac173c9d9b8f158341751f0189b86f9516edd1bfe90f607909f0eb7408c1a89aa9a6acd0
|
7
|
+
data.tar.gz: 96b86b8e8d86b3d16c0dae8006eb64a0f45e07ad85276f99fab11ad6e047170f6659967119863e03b494fd20a073d150bf6a9ac3b57f3fb65d4a355831d03601
|
@@ -79,7 +79,7 @@ module MorseControllerHelpers
|
|
79
79
|
end
|
80
80
|
|
81
81
|
def path_edit(cp = current_instance)
|
82
|
-
[path_prefix,
|
82
|
+
[:edit, path_prefix, cp].compact
|
83
83
|
end
|
84
84
|
|
85
85
|
def path_index
|
@@ -87,13 +87,18 @@ module MorseControllerHelpers
|
|
87
87
|
end
|
88
88
|
|
89
89
|
def path_new
|
90
|
-
[
|
90
|
+
[:new, path_prefix, resource_symbol].compact
|
91
91
|
end
|
92
92
|
|
93
93
|
def path_prefix
|
94
94
|
nil
|
95
95
|
end
|
96
96
|
|
97
|
+
def path_prefix_symbol
|
98
|
+
return nil unless path_prefix
|
99
|
+
path_prefix.to_sym
|
100
|
+
end
|
101
|
+
|
97
102
|
def path_show(instance = current_instance)
|
98
103
|
[path_prefix, instance].compact
|
99
104
|
end
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: morse_controller_helpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Terry S
|
@@ -133,6 +133,8 @@ files:
|
|
133
133
|
- lib/morse_controller_helpers/flash_helpers.rb
|
134
134
|
- lib/morse_controller_helpers/version.rb
|
135
135
|
- morse_controller_helpers-0.1.4.gem
|
136
|
+
- morse_controller_helpers-0.1.7.gem
|
137
|
+
- morse_controller_helpers-0.1.8.gem
|
136
138
|
- morse_controller_helpers.gemspec
|
137
139
|
- tags
|
138
140
|
homepage: https://github.com/morsedigital/morse_controller_helpers
|