Move the notes api methods into a controller in the api namespace

This commit is contained in:
Andy Allan 2019-02-24 15:46:25 +01:00
parent 4b4c5aac2f
commit b4dbf6233c
23 changed files with 1508 additions and 1479 deletions

View file

@ -18,7 +18,7 @@ module NoteHelper
elsif author.status == "deleted"
t("users.no_such_user.deleted")
else
link_to h(author.display_name), link_options.merge(:controller => "users", :action => "show", :display_name => author.display_name)
link_to h(author.display_name), link_options.merge(:controller => "/users", :action => "show", :display_name => author.display_name)
end
end
end