Skip to content

Commit

Permalink
some basic crud functionality, still figuring mongo out
Browse files Browse the repository at this point in the history
  • Loading branch information
dpick committed Feb 27, 2011
1 parent ca3a027 commit 4ca3965
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 0 additions & 2 deletions app/controllers/users_controller.rb
Expand Up @@ -3,7 +3,5 @@ class UsersController < ApplicationController

def show
@user = User.find(params[:id])

end

end
5 changes: 0 additions & 5 deletions app/views/home/index.html.erb

This file was deleted.

3 changes: 3 additions & 0 deletions config/routes.rb
Expand Up @@ -5,6 +5,9 @@

devise_for :users
resources :users, :only => :show
resources :restaurants
#match 'restaurants/new' => 'restaurants#new'
#match 'restaurants/:name' => 'restaurants#show'


# The priority is based upon order of creation:
Expand Down

0 comments on commit 4ca3965

Please sign in to comment.