We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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/application.rb
config.assets = Struct.new('AssetsStub', :prefix).new('/assets')
FYI
The text was updated successfully, but these errors were encountered:
#139
Sorry, something went wrong.
No branches or pull requests
When I create an API application which doesn't have Sprockets, I get the following error on page load:
Adding the following to
config/application.rb
hacks around it for me:FYI
The text was updated successfully, but these errors were encountered: