fix missing end in application.rb