menu_builder 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +11 -0
- data/VERSION +1 -1
- data/menu_builder.gemspec +1 -1
- metadata +3 -3
data/README.rdoc
CHANGED
|
@@ -26,6 +26,17 @@ Just install the plugin and see the example below:
|
|
|
26
26
|
...
|
|
27
27
|
end
|
|
28
28
|
|
|
29
|
+
You can also change to menu item in action level instead of class level:
|
|
30
|
+
|
|
31
|
+
class DashboardController < ApplicationController
|
|
32
|
+
menu_item :mydashboard
|
|
33
|
+
|
|
34
|
+
def prices
|
|
35
|
+
menu_item :prices
|
|
36
|
+
...
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
29
40
|
=== View
|
|
30
41
|
|
|
31
42
|
==== ERB code
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.3.
|
|
1
|
+
0.3.3
|
data/menu_builder.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: menu_builder
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 21
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 3
|
|
9
|
-
-
|
|
10
|
-
version: 0.3.
|
|
9
|
+
- 3
|
|
10
|
+
version: 0.3.3
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Daniel Lopes
|