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 | Rails.application.routes.draw do | 1 | Rails.application.routes.draw do |
2 | + get 'dashboard/index' | ||
3 | + | ||
2 | # The priority is based upon order of creation: first created -> highest priority. | 4 | # The priority is based upon order of creation: first created -> highest priority. |
3 | # See how all your routes lay out with "rake routes". | 5 | # See how all your routes lay out with "rake routes". |
4 | 6 | ||
5 | # You can have the root of your site routed with "root" | 7 | # You can have the root of your site routed with "root" |
6 | - # root 'welcome#index' | 8 | + root 'dashboard#index' |
7 | 9 | ||
8 | # Example of regular route: | 10 | # Example of regular route: |
9 | # get 'products/:id' => 'catalog#view' | 11 | # get 'products/:id' => 'catalog#view' |
Please
register
or
login
to post a comment