Sha256: 3756b3ae6bc42a14fd6324a7554aa22bc8c05a27a8b09377172d626d20024cd6
Contents?: true
Size: 591 Bytes
Versions: 3
Compression:
Stored size: 591 Bytes
Contents
say '## ROUTES >>' run 'rm config/routes.rb' create_file 'config/routes.rb' do <<-RUBY #{ARGV[0].classify}::Application.routes.draw do root to: 'home#index' devise_for :users, path: "auth", controllers: { omniauth_callbacks: 'users/omniauth_callbacks', registrations: 'users/registrations' }, path_names: { sign_up: 'register', sign_in: 'login', sign_out: 'logout' } namespace :admin do root to: 'home#index' end end RUBY end prepend_file 'config/routes.rb', "require 'sidekiq/web'\n" route "mount Sidekiq::Web, at: '/sidekiq'"
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rails-maker-0.1.11 | templates/default/lib/routes.rb |
rails-maker-0.1.9 | templates/default/lib/routes.rb |
rails-maker-0.1.7 | templates/default/lib/routes.rb |