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

where does request come from? #193

Open
Thermatix opened this issue Feb 10, 2015 · 1 comment
Open

where does request come from? #193

Thermatix opened this issue Feb 10, 2015 · 1 comment

Comments

@Thermatix
Copy link

I keep getting an error when assetpack tries to render out the header lines for getting the asset files.

Specifically:

undefined method 'script_name' for nil:NilClass:

The undefined is a function/variable/somthing called request but I can't find it any where.

So where does request come from?

EDIT:
just to add clarification the specific line it errors on is in assetpack/helpers.rb:44

@dongyuwei
Copy link

  1. in assetpack/builder.rb , there is a build_get method, which send the request.
  2. in assetpack/class_methods.rb, there is a add_individual_routes method, which add the GET routes for the individual files.

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