Commit 2f2b7b7e5e5b0cdfd242d50e8052a50f74a1e7fd
1 parent
b53a15f0
create dashboard controller and update root route to it.
Showing
7 changed files
with
26 additions
and
1 deletions
app/assets/javascripts/dashboard.coffee
0 → 100644
app/assets/stylesheets/dashboard.scss
0 → 100644
app/controllers/dashboard_controller.rb
0 → 100644
app/helpers/dashboard_helper.rb
0 → 100644
app/views/dashboard/index.html.erb
0 → 100644
1 | 1 | Rails.application.routes.draw do |
2 | + get 'dashboard/index' | |
3 | + | |
2 | 4 | # The priority is based upon order of creation: first created -> highest priority. |
3 | 5 | # See how all your routes lay out with "rake routes". |
4 | 6 | |
5 | 7 | # You can have the root of your site routed with "root" |
6 | - # root 'welcome#index' | |
8 | + root 'dashboard#index' | |
7 | 9 | |
8 | 10 | # Example of regular route: |
9 | 11 | # get 'products/:id' => 'catalog#view' | ... | ... |
Please
register
or
login
to post a comment