Skip to content
Browse files

people bugfix

  • Loading branch information...
1 parent d0399c4 commit a17e02a99979fdb0aa59db002204fd51f4cb65f1 @pjurczynski committed
Showing with 1 addition and 2 deletions.
  1. +1 −2 app/controllers/people_controller.rb
View
3 app/controllers/people_controller.rb
@@ -49,9 +49,8 @@ def create
respond_to do |format|
if @person.save
- format.html { redirect_to(task_manager_index_path, :notice => 'Osoba zostala dodana') }
+ format.html { redirect_to(task_manager_index_path, :notice => 'Osoba zostaa dodana') }
format.xml { render :xml => @person, :status => :created, :location => @person }
-
else
format.html { render :action => "new" }
format.xml { render :xml => @person.errors, :status => :unprocessable_entity }

0 comments on commit a17e02a

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