Skip to content

Commit

Permalink
stub view for users, show action put into users controller (l6.24/l6.25)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbfink committed Jan 3, 2011
1 parent 2676cdc commit 246cc9d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/controllers/users_controller.rb
@@ -1,4 +1,7 @@
class UsersController < ApplicationController
def show
@user = User.find(params[:id])
end
def new
@title = "Sign up"
end
Expand Down
1 change: 1 addition & 0 deletions app/views/users/show.html.erb
@@ -0,0 +1 @@
<%= @user.name %>, <%= @user.email %>

0 comments on commit 246cc9d

Please sign in to comment.