Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix broken redirects

  • Loading branch information...
commit c9224bb1410d919584588e60e40e79e7c024bea1 1 parent 55b0c24
@mattyoho mattyoho authored
View
2  app/controllers/sessions_controller.rb
@@ -17,7 +17,7 @@ def create
def destroy
logout
- redirect_to(:feed_items, :notice => 'Logged out!')
+ redirect_to(root_path, :notice => 'Logged out!')
end
end
View
2  app/views/feed_items/edit.html.haml
@@ -2,4 +2,4 @@
= render 'form'
-= link_to 'Back', feed_items_path
+= link_to 'Back', root_path
View
2  app/views/feed_items/new.html.haml
@@ -2,4 +2,4 @@
= render 'form'
-= link_to 'Back', feed_items_path
+= link_to 'Back', root_path
Please sign in to comment.
Something went wrong with that request. Please try again.