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.
Files changed (4) hide show
  1. data/README.rdoc +11 -0
  2. data/VERSION +1 -1
  3. data/menu_builder.gemspec +1 -1
  4. 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.2
1
+ 0.3.3
data/menu_builder.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{menu_builder}
8
- s.version = "0.3.2"
8
+ s.version = "0.3.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Daniel Lopes"]
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: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 2
10
- version: 0.3.2
9
+ - 3
10
+ version: 0.3.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Daniel Lopes