diff options
author | Teddy Wing | 2015-01-23 23:04:04 -0500 |
---|---|---|
committer | Teddy Wing | 2015-01-23 23:20:42 -0500 |
commit | f708e80dfb4440c4a2e5b26fdfe1179b0408ae17 (patch) | |
tree | 901a5b7574d39d64b1618404ee699004dc6e082a | |
parent | ee2e3781e55e3524fe8ae5123a06e9fdaf63c71f (diff) | |
download | Notes-angular-demo-f708e80dfb4440c4a2e5b26fdfe1179b0408ae17.tar.bz2 |
Create HomeController
-rw-r--r-- | app/assets/javascripts/home.coffee | 3 | ||||
-rw-r--r-- | app/assets/stylesheets/home.scss | 3 | ||||
-rw-r--r-- | app/controllers/home_controller.rb | 2 | ||||
-rw-r--r-- | app/helpers/home_helper.rb | 2 | ||||
-rw-r--r-- | test/controllers/home_controller_test.rb | 7 |
5 files changed, 17 insertions, 0 deletions
diff --git a/app/assets/javascripts/home.coffee b/app/assets/javascripts/home.coffee new file mode 100644 index 0000000..24f83d1 --- /dev/null +++ b/app/assets/javascripts/home.coffee @@ -0,0 +1,3 @@ +# Place all the behaviors and hooks related to the matching controller here. +# All this logic will automatically be available in application.js. +# You can use CoffeeScript in this file: http://coffeescript.org/ diff --git a/app/assets/stylesheets/home.scss b/app/assets/stylesheets/home.scss new file mode 100644 index 0000000..f0ddc68 --- /dev/null +++ b/app/assets/stylesheets/home.scss @@ -0,0 +1,3 @@ +// Place all the styles related to the home controller here. +// They will automatically be included in application.css. +// You can use Sass (SCSS) here: http://sass-lang.com/ diff --git a/app/controllers/home_controller.rb b/app/controllers/home_controller.rb new file mode 100644 index 0000000..fc0b474 --- /dev/null +++ b/app/controllers/home_controller.rb @@ -0,0 +1,2 @@ +class HomeController < ApplicationController +end diff --git a/app/helpers/home_helper.rb b/app/helpers/home_helper.rb new file mode 100644 index 0000000..23de56a --- /dev/null +++ b/app/helpers/home_helper.rb @@ -0,0 +1,2 @@ +module HomeHelper +end diff --git a/test/controllers/home_controller_test.rb b/test/controllers/home_controller_test.rb new file mode 100644 index 0000000..730478d --- /dev/null +++ b/test/controllers/home_controller_test.rb @@ -0,0 +1,7 @@ +require 'test_helper' + +class HomeControllerTest < ActionController::TestCase + # test "the truth" do + # assert true + # end +end |