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 :image_files, 'Gestion des images', admin_image_files_path
|
||||||
dahsboard.item :data_files, 'Gestion des fichiers', admin_data_files_path
|
dahsboard.item :data_files, 'Gestion des fichiers', admin_data_files_path
|
||||||
|
|
||||||
|
@ -67,6 +67,9 @@ Pharma::Application.routes.draw do
|
|||||||
end
|
end
|
||||||
|
|
||||||
namespace :admin do
|
namespace :admin do
|
||||||
|
get "dashboard/index", :to => "dashboard#index"
|
||||||
|
|
||||||
|
|
||||||
root :to => "prescriptions#index"
|
root :to => "prescriptions#index"
|
||||||
resources :external_links do
|
resources :external_links do
|
||||||
collection do
|
collection do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user