update application.html.erb

this was causing idleserver to link to localhost:port when running in unicorn behind nginx. converting these to <controller>_path fixes that issue.