Services
<%% if @consumer_tokens.empty? %>
You are currently not connected to any external services.
<%% else %>
You are connected to the following services:
<%% @consumer_tokens.each do |token| %>
-
<%%= link_to token.class.service_name.to_s.humanize, oauth_consumer_path(token.class.service_name) %>
<%% end %>
<%% end %>
<%% unless @services.empty? %>
You can connect to the following services:
<%% @services.each do |service| %>
-
<%%= link_to service.to_s.humanize, oauth_consumer_path(service) %>
<%% end %>
<%% end %>