Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def should_navigate_user?
- current_user.present? && request.get? && !current_user.has_role?(:admin) && !params[:action].eql?("subscribe")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement