suite
This commit is contained in:
parent
4459fc1a0b
commit
382071419c
@ -9,7 +9,7 @@ SimpleNavigation::Configuration.run do |navigation|
|
||||
|
||||
|
||||
|
||||
primary.item :dahsboard, 'Dashboard', admin_root_path() do |dahsboard|
|
||||
primary.item :dahsboard, 'Dashboard', "/admin/dashboard/index" do |dahsboard|
|
||||
dahsboard.item :image_files, 'Gestion des images', admin_image_files_path
|
||||
dahsboard.item :data_files, 'Gestion des fichiers', admin_data_files_path
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
Pharma::Application.routes.draw do
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
get "prescriptions/index"
|
||||
|
||||
@ -67,6 +67,9 @@ Pharma::Application.routes.draw do
|
||||
end
|
||||
|
||||
namespace :admin do
|
||||
get "dashboard/index", :to => "dashboard#index"
|
||||
|
||||
|
||||
root :to => "prescriptions#index"
|
||||
resources :external_links do
|
||||
collection do
|
||||
|
Loading…
x
Reference in New Issue
Block a user