Sha256: d6890a59d78deee7e5d76603bcf4a7970cc1a61f349465545c84327006e55cda

Contents?: true

Size: 368 Bytes

Versions: 2

Compression:

Stored size: 368 Bytes

Contents

<%= app_name.classify %>::Application.routes.draw do
  devise_for :users
  devise_scope :user do
    get "login", :to => "devise/sessions#new"
    delete "logout", to: "devise/sessions#destroy"
    get "signup", to: "devise/registrations#new"
  end

  namespace "admin" do
    # resources :puppies
    get '', to: 'dashboard#index'
  end

  root to: 'pages#index'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails-replicator-0.1.7 templates/routes.rb.erb
rails-replicator-0.1.6 templates/routes.rb.erb