Sha256: 5af4f9e527ce367808841f27aca392a55b8fa2922944fa7fc51b646190793d76
Contents?: true
Size: 603 Bytes
Versions: 1
Compression:
Stored size: 603 Bytes
Contents
Mvp::Engine.routes.draw do # mount RailsAdmin::Engine => '/admin', as: 'rails_admin' if Rails.env.development? get 'styleguide', to: 'styleguide#index' get 'styleguide/bootstrap', to: 'styleguide#bootstrap' ['basic','cover','carousel'].each do |layout| get "styleguide/layouts/#{layout}", to: "styleguide#layout_#{layout}" end end get 'robots.txt', to: '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: 'sessions#optout' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
minimum-viable-product-0.0.2 | config/routes.rb |