Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- How can I use an application decorator for site wide view logic?
- <% if signed_in? %>
- <li><%= link_to "Sign out", signout_path, :method => :delete %></li>
- <% else %>
- <li><%= link_to "Sign in", signin_path %></li>
- <% end %>
Add Comment
Please, Sign In to add comment