Project

General

Profile

Actions

Bug #6749

closed

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

Added by Brett Smith about 7 years ago. Updated about 7 years ago.

Status:
Rejected
Priority:
Normal
Assigned To:
-
Category:
API
Target version:
-
Start date:
07/23/2015
Due date:
% Done:

0%

Estimated time:
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/2015

Actions
Actions

Also available in: Atom PDF