認証トークン

あなたの認証トークンは<%= @user.authentication_token %>です
<% if @user.authentication_token %> <%= link_to 'delete token', :action => :delete_token %> <% else %> <%= link_to 'generate token', :action => :create_token %> <% end %>

作家

<%= link_to 'edit author profile', edit_author_path(@author) %>

絵師

<% if @artist %> <%= link_to 'edit artist profile', edit_artist_path(@artist) %> <% else %> <%= link_to 'regist artist', new_artist_path %> <% end %>

退会

<%= link_to('退会する', {:controller => 'user_registrations', :action => :destroy, :id => @user.id}, {:method => :delete}) %>