Project

General

Profile

Actions

Bug #6749

closed

[API] "undefined method `asset_path`" exception on login failure

Added by Brett Smith over 8 years ago. Updated over 8 years ago.

Status:
Rejected
Priority:
Normal
Assigned To:
-
Category:
API
Target version:
-
Story points:
0.5

Description

Visiting /static/login_failure on an API server currently returns a response like this:

{"errors":["#<NoMethodError: undefined method `asset_path' for #<#<Class:0x00000005d3bb98>:0x00000005440750>>"]}

Both views under app/views/static/ include a call to asset_path that apparently doesn't work in our API server Rails configuration.


Related issues

Related to Arvados - Bug #6753: [API] Asset pipeline does not work unless config/environments/production.rb is present at buildtime and runtimeClosed07/23/2015Actions
Actions

Also available in: Atom PDF