fix weird error referencing api partial in app.erb