Sha256: b9ab329d6b0b56636f7c039288274d711254c1940f4014553b2d93a78b32572c

Contents?: true

Size: 600 Bytes

Versions: 8

Compression:

Stored size: 600 Bytes

Contents

PhcdevworksAccountsDevise::Engine.routes.draw do

    # User Dashboard
    match "user", to: "user/pages#dashboard", via: "get"
    match "user/profile", to: "user/pages#profile", via: "get"

    # Admin Routes
    match "/admin", to: "admin/pages#dashboard", via: "get"
    match "/admin/users/all", to: "admin/pages#users_list", via: "get"
    match "/admin/user/:id", to: "admin/pages#user_profile", via: "get"

    # User Routes
    devise_for :users, class_name: "PhcdevworksAccountsDevise::User",
    module: :devise, 
    controllers: {
        registrations: 'users/registrations'
    }

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
phcdevworks_accounts_devise-1.1.1 config/routes.rb
phcdevworks_accounts_devise-1.1.0 config/routes.rb
phcdevworks_accounts_devise-1.0.1 config/routes.rb
phcdevworks_accounts_devise-1.0.0 config/routes.rb
phcdevworks_accounts_devise-0.1.3.pre.beta config/routes.rb
phcdevworks_accounts_devise-0.1.2.pre.beta config/routes.rb
phcdevworks_accounts_devise-0.1.1.pre.beta config/routes.rb
phcdevworks_accounts_devise-0.1.0.pre.beta config/routes.rb