Commit 8e4129c
Changed files (5)
app
assets
javascripts
templates
controllers
config
app/assets/javascripts/templates/help.hbs
@@ -0,0 +1,1 @@
+<h2>Help</h2>
app/assets/javascripts/templates/profile.hbs
@@ -0,0 +1,1 @@
+<h2>Profile</h2>
app/assets/javascripts/templates/settings.hbs
@@ -0,0 +1,1 @@
+<h2>Settings</h2>
app/controllers/videos_controller.rb
@@ -13,8 +13,4 @@ class VideosController < ApplicationController
},
]
end
-
- def show
- render json: { id: 1, title: 'getting jiggy with it', description: 'supa fly funky dancing' }
- end
end
config/routes.rb
@@ -1,6 +1,6 @@
Mocode::Application.routes.draw do
resources :logins, only: [:new, :create]
- resources :videos, only: [:index, :show]
+ resources :videos, only: [:index]
get 'dashboard', to: 'dashboard#index'
root 'dashboard#index'
# The priority is based upon order of creation: first created -> highest priority.