Sha256: d2762824fd167d699f721d7dc9e952abd14d5457f8fdf6b0969c7b06c31192d9

Contents?: true

Size: 737 Bytes

Versions: 10

Compression:

Stored size: 737 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/#{ENV['PROJECT_NAME']}/sitemaps/sitemap.xml.gz"), as: :sitemap

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
minimum_viable_product-0.0.42 config/routes.rb
minimum_viable_product-0.0.41 config/routes.rb
minimum_viable_product-0.0.40 config/routes.rb
minimum_viable_product-0.0.39 config/routes.rb
minimum_viable_product-0.0.38 config/routes.rb
minimum_viable_product-0.0.37 config/routes.rb
minimum_viable_product-0.0.36 config/routes.rb
minimum_viable_product-0.0.35 config/routes.rb
minimum_viable_product-0.0.34 config/routes.rb
minimum_viable_product-0.0.33 config/routes.rb