Commit 8e4129c

mo khan <mo@mokhan.ca>
2014-04-12 04:56:02
add templates for help, settings, and profile pages.
1 parent c203a11
Changed files (5)
app
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.