tabulous 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +3 -0
- data/lib/generators/tabs/templates/tabulous.rb +6 -1
- data/lib/tabulous/version.rb +1 -1
- metadata +6 -6
data/CHANGELOG.rdoc
CHANGED
@@ -66,9 +66,14 @@ Tabulous.setup do |config|
|
|
66
66
|
<% index_routes = Rails.application.routes.routes.select{|r| r.requirements[:action] == 'index'}
|
67
67
|
tab_data = index_routes.map do |route|
|
68
68
|
name = route.requirements[:controller].gsub('/', '_')
|
69
|
+
if route.name.nil?
|
70
|
+
path = "url_for(:controller => '#{route.requirements[:controller]}', :action => 'index')"
|
71
|
+
else
|
72
|
+
path = route.name + '_path'
|
73
|
+
end
|
69
74
|
{ :text => name.titleize,
|
70
75
|
:name => name,
|
71
|
-
:path_helper =>
|
76
|
+
:path_helper => path }
|
72
77
|
end
|
73
78
|
-%>
|
74
79
|
<%= s = []
|
data/lib/tabulous/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tabulous
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 19
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 2
|
10
|
+
version: 1.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Wyatt Greene
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-04-19 00:00:00 -04:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -458,7 +458,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
458
458
|
requirements: []
|
459
459
|
|
460
460
|
rubyforge_project: tabulous
|
461
|
-
rubygems_version: 1.
|
461
|
+
rubygems_version: 1.6.2
|
462
462
|
signing_key:
|
463
463
|
specification_version: 3
|
464
464
|
summary: Easy tabbed navigation for Rails.
|