-
-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Description
To reproduce:
-
clone repo
-
cd ruby-science/example_app -
bundle && bundle exec rake db:migrate && bundle exec rails server -
navigate to main page, create account, sign in, create survey
-
view surveys
-
click signout
Error Produced:Routing Error No route matches [GET] "/sign_out" Try running rake routes for more information on available routes.
Running rake routes gets:
sign_out DELETE /sign_out(.:format) clearance/sessions#destroy
for this instance,
and if we grep out sign_out (the path that would be used for this) out....
➜ example_app git:(master) grep -r sign_out *
app/views/shared/_header.html.erb: <%= link_to 'Sign out', sign_out_path, method: :delete %>
As you can see, you use the delete method so I don't know what is causing the error, and have not had time to truly debug it.
Metadata
Metadata
Assignees
Labels
No labels