I followed the wiki to create the links but get this error: Granted I am fairly new to Rails and Devise
uninitialized constant ApplicationController::UserSession
Extracted source (around line #1):
1: <% if user_signed_in? %>
2: <li>
3: <%= link_to('Logout', destroy_user_session_path, :method => :delete) %>
4: </li>
Trace of template inclusion: app/views/layouts/_header.html.erb, app/views/layouts/application.html.erb
app/controllers/application_controller.rb:10:in `current_user_session'
app/controllers/application_controller.rb:16:in `current_user'
app/views/devise/menu/_login_items.html.erb:1:in`_app_views_devise_menu__login_items_html_erb__1251633497065791740_2169375180__3843613137737702562'
app/views/layouts/_header.html.erb:13:in `_app_views_layouts__header_html_erb___2695761790912056148_2169430740_3591649723346667383'
app/views/layouts/application.html.erb:10:in `_app_views_layouts_application_html_erb__2958864439808398489_2169528520__269406770402330689'
Not sure if this is the problem, but have you tried setting
:method => :deleteto:method => :get? I would also suggest setting thelink_totobutton_tosince you are trying to “do something” and not necessarily “go somewhere.”