Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- BoTan::Application.routes.draw do
- scope "teacher" do
- resources :documents, :audio, :images, :videos, :courses, :quizzes
- match 'Dashboard' => 'teacher/home#dashboard', :as => :teacher_dashboard
- end
- namespace :student do
- resources :quizzes
- match 'quizzes/new/:id' => 'quizzes#new'
- match 'Dashboard' => 'home#dashboard', :as => :dashboard
- # root :to => 'home#dashboard'
- end
- # match 'Dashboard' => 'home#dashboard', :as => "dashboard"
- root :to => "home#index"
- end
Add Comment
Please, Sign In to add comment