Sha256: 79a43ee7dc6175ba82ca3823adcebe8eaa634a25bbf6ee04a56c51c3b13b40ba
Contents?: true
Size: 546 Bytes
Versions: 2
Compression:
Stored size: 546 Bytes
Contents
PhcdevworksAccounts::Engine.routes.draw do # User Routes devise_for :users, { class_name: "PhcdevworksAccounts::User", module: :devise } # User Dashboard match "user/dashboard", 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" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
phcdevworks_accounts-2.5.0 | config/routes.rb |
phcdevworks_accounts-2.4.0 | config/routes.rb |