SO i have this link_to
<li><%= link_to "Home", root_path %></li>
but if its an admin i want go to a different location like below...I know i can do this but is there a cleaner way
<% if admin_user %>
<li><%= link_to "Home", admin_path(current_user) %></li>
<% else %>
<li><%= link_to "Home", root_path %></li>
<% end %>