Permalink
Browse files

added Users controller

  • Loading branch information...
1 parent 66d8cfe commit 6c06146dab585e49638a8d656dfd68240aa916c5 @grigerny committed May 9, 2012
@@ -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://jashkenas.github.com/coffee-script/
@@ -0,0 +1,3 @@
+// Place all the styles related to the Users controller here.
+// They will automatically be included in application.css.
+// You can use Sass (SCSS) here: http://sass-lang.com/
@@ -0,0 +1,4 @@
+class UsersController < ApplicationController
+ def new
+ end
+end
@@ -0,0 +1,2 @@
+module UsersHelper
+end
@@ -0,0 +1,2 @@
+<h1>Users#new</h1>
+<p>Find me in app/views/users/new.html.erb</p>
View
@@ -1,5 +1,7 @@
SampleApp::Application.routes.draw do
+ get "users/new"
+
get "static_pages/home"
get "static_pages/help"
get "static_pages/about"
@@ -56,7 +58,7 @@
# You can have the root of your site routed with "root"
# just remember to delete public/index.html.
- root :to => 'static_pages#home'
+ # root :to => 'welcome#index'
# See how all your routes lay out with "rake routes"

0 comments on commit 6c06146

Please sign in to comment.