Get rid of deprecated link_to_function
This commit is contained in:
parent
6507c1085e
commit
1a05f2f7c9
5 changed files with 18 additions and 2 deletions
|
@ -9,7 +9,7 @@
|
|||
%li.bottom
|
||||
8 of #{@commits.count} commits displayed.
|
||||
%strong
|
||||
= link_to_function "Click here to show all", "MergeRequest.showAllCommits()"
|
||||
%a.mr_show_all_commits Click here to show all
|
||||
%ul.all_mr_commits.hide.unstyled
|
||||
- @commits.each do |commit|
|
||||
= render "commits/commit", :commit => commit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue