adding the people controller to access, list the people model

cat-town
Dan Buch 13 years ago
parent 9085ad1117
commit 5d78c29208

@ -0,0 +1,5 @@
class PeopleController < ApplicationController
def list
end
end

@ -0,0 +1,2 @@
<h1>People#list</h1>
<p>Find me in app/views/people/list.html.erb</p>

@ -1,4 +1,6 @@
Hodgepodge::Application.routes.draw do
get "people/list"
get "foo/pretty"
get "foo/count"

@ -0,0 +1,9 @@
require 'test_helper'
class PeopleControllerTest < ActionController::TestCase
test "should get list" do
get :list
assert_response :success
end
end

@ -0,0 +1,4 @@
require 'test_helper'
class PeopleHelperTest < ActionView::TestCase
end
Loading…
Cancel
Save