spina-admin-conferences-blog 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/routes.rb +0 -14
- data/lib/spina/admin/conferences/blog/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5789ad976200e5c76aa6b4e8f7e541b6fb614d1a8533cde5ce8fc6b3a7c8954e
|
4
|
+
data.tar.gz: 769bcbbd756cc4eb32e4f037795a450bc2230a13abbc0195b92b3036edd718e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f65f76f537fb0e3a9e9e15a60ce41f3fe3538f0f24d582ebaefe5792851bc806938bdb0ed279a4145df72a9782bda89fd8766c189bd20831f4c6ce8d1f95bed
|
7
|
+
data.tar.gz: f9021df76794a220a1fd07632d70baff977cf01b43c819086f969a3e2980bf4483cfe197f8c304eb64ffc729f5bd13ae841e0437dc0a22eafa2c8853bc2de7c6
|
data/config/routes.rb
CHANGED
@@ -1,20 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
Spina::Engine.routes.draw do
|
4
|
-
namespace :blog do
|
5
|
-
root to: 'posts#index'
|
6
|
-
|
7
|
-
get ':id', to: 'posts#show', as: :post
|
8
|
-
|
9
|
-
# Redirects for old sites that used the old blog path
|
10
|
-
get 'posts/', to: redirect('/blog'), as: :old_index
|
11
|
-
get 'posts/:id', to: redirect('/blog/%{id}'), as: :old_post
|
12
|
-
|
13
|
-
get 'feed.atom', to: 'posts#index', as: :rss_feed, defaults: { format: :atom }
|
14
|
-
get 'categories/:id', to: 'categories#show', as: :category
|
15
|
-
get 'archive/:year(/:month)', to: 'posts#archive', as: :archive_posts
|
16
|
-
end
|
17
|
-
|
18
4
|
namespace :admin, path: Spina.config.backend_path do
|
19
5
|
namespace :conferences do
|
20
6
|
namespace :blog do
|