rails-brochure 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/config/routes.rb +1 -1
- data/lib/rails-brochure/engine.rb +1 -1
- data/lib/rails-brochure/version.rb +1 -1
- metadata +2 -2
data/config/routes.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Rails.application.routes.draw do
|
2
2
|
Rails::Brochure::HomeContent.templates.each do |pg|
|
3
|
-
match "/#{pg}" => "home##{pg}", :as => pg.gsub(
|
3
|
+
match "/#{pg}" => "home##{pg}", :as => pg.gsub(/(\/|-)/,'_').to_sym
|
4
4
|
end
|
5
5
|
match '*a', :to => 'home#four_zero_four' unless defined?(NONBROCHURE404)
|
6
6
|
end
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: rails-brochure
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Dan Hixon
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-04-
|
13
|
+
date: 2011-04-19 00:00:00 -07:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|