Skip to content
Browse files

update homepage

  • Loading branch information...
1 parent 7f6e357 commit 2a63831048f2059f58b1e550878b850f07c9c384 @etrainey committed Mar 20, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 app/controllers/users_controller.rb
  2. +1 −1 config/routes.rb
View
2 app/controllers/users_controller.rb
@@ -33,7 +33,7 @@ def create
respond_to do |format|
if @user.save
sign_in @user
- flash["alert-success"] = "Welcome to Habitt. Take a look around and start changing your Habitts!"
+ flash["alert-success"] = "Welcome to Habitt. Take a look around and start changing your Habitts."
format.html { redirect_to current_user }
format.json { render json: @user, status: :created, location: @user }
else
View
2 config/routes.rb
@@ -15,7 +15,7 @@
:only => [:destroy]
match '/home', to: "static_pages#show"
- match '/', to: "habitts#index"
+ match '/', to: 'static_pages#show'
match '/habitts', to: "habitts#index"
match '/users', to: "users#index"
match '/sign_out', to: 'sessions#destroy', :via => :delete

0 comments on commit 2a63831

Please sign in to comment.
Something went wrong with that request. Please try again.