Sha256: dab1db9fea118b94eba9c715836d21092fe56ba8894fe1e20597e0269f69ceec

Contents?: true

Size: 536 Bytes

Versions: 10

Compression:

Stored size: 536 Bytes

Contents

PhcdevworksAccounts::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: "PhcdevworksAccounts::User",
        module: :devise
    }

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
phcdevworks_accounts-3.1.2 config/routes.rb
phcdevworks_accounts-3.1.1 config/routes.rb
phcdevworks_accounts-3.1.0 config/routes.rb
phcdevworks_accounts-3.0.7 config/routes.rb
phcdevworks_accounts-3.0.5 config/routes.rb
phcdevworks_accounts-3.0.4 config/routes.rb
phcdevworks_accounts-3.0.3 config/routes.rb
phcdevworks_accounts-3.0.2 config/routes.rb
phcdevworks_accounts-3.0.1 config/routes.rb
phcdevworks_accounts-3.0.0 config/routes.rb