Skip to content
This repository has been archived by the owner on Mar 9, 2020. It is now read-only.

Commit

Permalink
Add "people" resource and controller.
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidS committed Jul 26, 2014
1 parent 2d766b4 commit f7b3c95
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/assets/javascripts/people.js.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/
3 changes: 3 additions & 0 deletions app/assets/stylesheets/people.css.scss
@@ -0,0 +1,3 @@
// Place all the styles related to the people controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
2 changes: 2 additions & 0 deletions app/controllers/people_controller.rb
@@ -0,0 +1,2 @@
class PeopleController < ApplicationController
end
2 changes: 2 additions & 0 deletions app/helpers/people_helper.rb
@@ -0,0 +1,2 @@
module PeopleHelper
end
2 changes: 2 additions & 0 deletions config/routes.rb
Expand Up @@ -16,6 +16,8 @@
# Example resource route (maps HTTP verbs to controller actions automatically):
# resources :products

resources :people

# Example resource route with options:
# resources :products do
# member do
Expand Down
7 changes: 7 additions & 0 deletions test/controllers/people_controller_test.rb
@@ -0,0 +1,7 @@
require 'test_helper'

class PeopleControllerTest < ActionController::TestCase
# test "the truth" do
# assert true
# end
end
4 changes: 4 additions & 0 deletions test/helpers/people_helper_test.rb
@@ -0,0 +1,4 @@
require 'test_helper'

class PeopleHelperTest < ActionView::TestCase
end

0 comments on commit f7b3c95

Please sign in to comment.