Sha256: d5ec990c845e26f5b75de22732636b55f37eefbf9a38fe6214232c2d70d37d8d

Contents?: true

Size: 725 Bytes

Versions: 22

Compression:

Stored size: 725 Bytes

Contents

Rails.application.routes.draw do
  # mount RailsAdmin::Engine => '/admin', as: 'rails_admin'

  if Rails.env.development?
    get 'styleguide', to: 'minimum_viable_product/styleguide#index'
    get 'styleguide/bootstrap', to: 'minimum_viable_product/styleguide#bootstrap'
    ['basic','cover','carousel'].each do |layout|
      get "styleguide/layouts/#{layout}", to: "minimum_viable_product/styleguide#layout_#{layout}"
    end
  end

  get 'robots.txt', to: 'minimum_viable_product/seo#robots', as: :robots
  get '/sitemap.xml.gz', to: redirect("https://#{ENV['AWS_S3_BUCKET']}.s3.amazonaws.com/nailsalons/sitemaps/sitemap.xml.gz"), as: :sitemap

  get 'analytics/optout', to: 'minimum_viable_product/analytics#optout'
end

Version data entries

22 entries across 21 versions & 1 rubygems

Version Path
minimum_viable_product-0.0.32 config/routes.rb
minimum_viable_product-0.0.30 config/routes.rb
minimum_viable_product-0.0.29 config/routes.rb
minimum_viable_product-0.0.27 config/routes.rb
minimum_viable_product-0.0.26 config/routes.rb
minimum_viable_product-0.0.25 config/routes.rb
minimum_viable_product-0.0.24 config/routes.rb
minimum_viable_product-0.0.23 config/routes.rb
minimum_viable_product-0.0.22 config/routes.rb
minimum_viable_product-0.0.21 config/routes.rb
minimum_viable_product-0.0.20 config/routes.rb
minimum_viable_product-0.0.19 config/routes.rb
minimum_viable_product-0.0.18 config/routes.rb
minimum_viable_product-0.0.17 config/routes.rb
minimum_viable_product-0.0.16 config/routes.rb
minimum_viable_product-0.0.15 config/routes.rb
minimum_viable_product-0.0.14 config/routes.rb
minimum_viable_product-0.0.13 config/routes.rb
minimum_viable_product-0.0.11 config/routes.rb
minimum_viable_product-0.0.11 test/dummy/node_modules/minimum_viable_product/config/routes.rb