Skip to content

Commit

Permalink
put back navigation now that db is fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
caseywatts committed Sep 27, 2014
1 parent 4df18f5 commit ea25238
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/controllers/users_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def create
def update
respond_to do |format|
if @user.update(user_params)
format.html { redirect_to user_edit_path(@user), notice: 'User was successfully updated.' }
format.html { redirect_to edit_user_path(@user), notice: 'User was successfully updated.' }
format.json { head :no_content }
else
format.html { render action: 'edit' }
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/_navigation.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<%#= link_to "#{current_user.full_name}", edit_user_path(current_user) if current_user %>
<%= link_to "#{current_user.full_name}", edit_user_path(current_user) if current_user %>
</li>
</ul>
</div>

0 comments on commit ea25238

Please sign in to comment.