diff options
author | Teddy Wing | 2015-01-23 19:47:16 -0500 |
---|---|---|
committer | Teddy Wing | 2015-01-23 19:47:16 -0500 |
commit | 1d8d8322f0595dcf13f65e13c6ad4ec4bb2e410f (patch) | |
tree | d988ec7836ee4a76d941ee0ffe25c61167e558ed | |
parent | b968245150055582423262699c2e9ba290fd70fb (diff) | |
download | Notes-angular-demo-1d8d8322f0595dcf13f65e13c6ad4ec4bb2e410f.tar.bz2 |
Generate NotesController
-rw-r--r-- | app/assets/javascripts/notes.coffee | 3 | ||||
-rw-r--r-- | app/assets/stylesheets/notes.scss | 3 | ||||
-rw-r--r-- | app/controllers/notes_controller.rb | 2 | ||||
-rw-r--r-- | app/helpers/notes_helper.rb | 2 | ||||
-rw-r--r-- | test/controllers/notes_controller_test.rb | 7 |
5 files changed, 17 insertions, 0 deletions
diff --git a/app/assets/javascripts/notes.coffee b/app/assets/javascripts/notes.coffee new file mode 100644 index 0000000..24f83d1 --- /dev/null +++ b/app/assets/javascripts/notes.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/notes.scss b/app/assets/stylesheets/notes.scss new file mode 100644 index 0000000..56d31f5 --- /dev/null +++ b/app/assets/stylesheets/notes.scss @@ -0,0 +1,3 @@ +// Place all the styles related to the notes 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/notes_controller.rb b/app/controllers/notes_controller.rb new file mode 100644 index 0000000..c94d2e3 --- /dev/null +++ b/app/controllers/notes_controller.rb @@ -0,0 +1,2 @@ +class NotesController < ApplicationController +end diff --git a/app/helpers/notes_helper.rb b/app/helpers/notes_helper.rb new file mode 100644 index 0000000..8078f73 --- /dev/null +++ b/app/helpers/notes_helper.rb @@ -0,0 +1,2 @@ +module NotesHelper +end diff --git a/test/controllers/notes_controller_test.rb b/test/controllers/notes_controller_test.rb new file mode 100644 index 0000000..2a3800c --- /dev/null +++ b/test/controllers/notes_controller_test.rb @@ -0,0 +1,7 @@ +require 'test_helper' + +class NotesControllerTest < ActionController::TestCase + # test "the truth" do + # assert true + # end +end |