Rails with activeadmin and devise - signed_in?
I have installed devise and activeadmin. When i login to activeadmin rails
thinks that im also signed_in as a user on page but with no current_user
value. When i go on some pages without login as user (with logged on
activeadmin) statement:
<% if signed_in? %>
is true and rails try to run script in it. How can i tell rails that
activeadmin users isnt current_user for whole site?
No comments:
Post a Comment