spree_simple_blog 3.0.1 → 3.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/config/routes.rb +10 -0
- metadata +5 -4
data/config/routes.rb
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
Rails.application.routes.draw do
|
2
|
+
|
3
|
+
match '/blog', :to => 'articles#index', :as => 'blog_articles'
|
4
|
+
match '/blog.:format', :to => 'articles#index', :as => 'blog_articles'
|
5
|
+
match '/blog/tag/:tag', :to => 'articles#tag', :as => 'blog_tag'
|
6
|
+
match '/blog/page/:page', :to => 'articles#index', :as => 'blog_articles_page'
|
7
|
+
match '/blog/:year/:month', :to => 'articles#archive', :as => 'blog_articles_archive'
|
8
|
+
match '/blog/:year/:month/:day/:permalink', :to => 'articles#show', :as => 'blog_article'
|
9
|
+
|
10
|
+
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_simple_blog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 1
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 3
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 3.0.
|
9
|
+
- 3
|
10
|
+
version: 3.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors: []
|
13
13
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-09-
|
18
|
+
date: 2010-09-07 00:00:00 -05:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -77,6 +77,7 @@ files:
|
|
77
77
|
- app/views/articles/index.html.erb
|
78
78
|
- app/views/articles/index.xml.builder
|
79
79
|
- app/views/articles/show.html.erb
|
80
|
+
- config/routes.rb
|
80
81
|
has_rdoc: true
|
81
82
|
homepage:
|
82
83
|
licenses: []
|