Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Rails App breaks Makara with assets.prefix no method error #138

Open
will-in-wi opened this issue Oct 14, 2016 · 1 comment
Open

API Rails App breaks Makara with assets.prefix no method error #138

will-in-wi opened this issue Oct 14, 2016 · 1 comment

Comments

@will-in-wi
Copy link

When I create an API application which doesn't have Sprockets, I get the following error on page load:

#<NoMethodError: undefined method `assets' for #<Rails::Application::Configuration:0x007fb21491cf80>>

Adding the following to config/application.rb hacks around it for me:

config.assets = Struct.new('AssetsStub', :prefix).new('/assets')

FYI

@bleonard
Copy link
Contributor

#139

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants