minimum_viable_product 0.0.42 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 34fde8a65ce6451b51a56c1132d6b3ee103820c9
|
4
|
+
data.tar.gz: 4c051f1e182f5a9b76f43380f837d08120309989
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d567a1dad7cab9abca809ef6e0d4332ff70b0a407c59cc50e0fe5e6702f0a571bcf6bd7b08767ead608a362b39351b39258ee0ad892ec8893b753db9d0a95868
|
7
|
+
data.tar.gz: a0a3f44a3f860008b97d2226cfacd9c879460b0762a4274300dad4e6ea4d24002d44d0f85e72d792db08169b7a17b1cc6b69f6cbf8882f61a29992c3910d6de1
|
data/config/routes.rb
CHANGED
@@ -1,16 +1,16 @@
|
|
1
|
-
|
1
|
+
MinimumViableProduct::Engine.routes.draw do
|
2
2
|
# mount RailsAdmin::Engine => '/admin', as: 'rails_admin'
|
3
3
|
|
4
4
|
if Rails.env.development?
|
5
|
-
get 'styleguide', to: '
|
6
|
-
get 'styleguide/bootstrap', to: '
|
5
|
+
get 'styleguide', to: 'styleguide#index'
|
6
|
+
get 'styleguide/bootstrap', to: 'styleguide#bootstrap'
|
7
7
|
['basic','cover','carousel'].each do |layout|
|
8
|
-
get "styleguide/layouts/#{layout}", to: "
|
8
|
+
get "styleguide/layouts/#{layout}", to: "styleguide#layout_#{layout}"
|
9
9
|
end
|
10
10
|
end
|
11
11
|
|
12
|
-
get 'robots.txt', to: '
|
12
|
+
get 'robots.txt', to: 'seo#robots', as: :robots
|
13
13
|
get '/sitemap.xml.gz', to: redirect("https://#{ENV['AWS_S3_BUCKET']}.s3.amazonaws.com/#{ENV['PROJECT_NAME']}/sitemaps/sitemap.xml.gz"), as: :sitemap
|
14
14
|
|
15
|
-
get 'analytics/optout', to: '
|
15
|
+
get 'analytics/optout', to: 'analytics#optout'
|
16
16
|
end
|
data/lib/tasks/sitemap.rake
CHANGED
@@ -37,6 +37,6 @@ namespace :sitemap do
|
|
37
37
|
task worker: :environment do
|
38
38
|
Rake::Task["sitemap:create"].invoke
|
39
39
|
Rake::Task["sitemap:upload"].invoke
|
40
|
-
SitemapGenerator::Sitemap.ping_search_engines(
|
40
|
+
SitemapGenerator::Sitemap.ping_search_engines(MVP::Engine.routes.url_helpers.sitemap_url)
|
41
41
|
end
|
42
42
|
end
|