File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 <% author = rc . user %>
2323 <%= display_link ( author ) %>
2424 <%= link_to (
25- coauthors_register_url (
26- @register , action : :unlink ,
27- register : { coauthor : author . username } ) ,
25+ coauthors_register_url ( @register , {
26+ action : :unlink ,
27+ register : { coauthor : author . username }
28+ } ) ,
2829 class : 'badge badge-pill badge-primary' ,
2930 method : :post , title : 'Unlink coauthor' ,
3031 data : { confirm : 'Are you sure?' }
3334 <% end %>
3435 <% unless rc . first? %>
3536 <%= link_to (
36- coauthors_register_url (
37- @register , action : :up ,
38- register : { coauthor : author . username } ) ,
37+ coauthors_register_url ( @register , {
38+ action : :up ,
39+ register : { coauthor : author . username }
40+ } ) ,
3941 class : 'badge badge-pill badge-primary' ,
4042 method : :post , title : 'Move coauthor up'
4143 ) do %>
You can’t perform that action at this time.
0 commit comments