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

Admin assets directory behaves like a route... #19

Closed
jlambe opened this issue Jul 23, 2014 · 1 comment
Closed

Admin assets directory behaves like a route... #19

jlambe opened this issue Jul 23, 2014 · 1 comment
Assignees
Labels
Milestone

Comments

@jlambe
Copy link
Contributor

jlambe commented Jul 23, 2014

Issue for loading assets saved in the admin directory. The response returns "No routes defined for this request".

Seems to have a conflict between the route and asset api and how directories are registered.

Issue happened when trying to register modernzr script from: app/admin/assets/js/vendor/modernizr.js using the following statement:
Asset::add('th-modernizr', 'js/vendor/modernizr.js', array(), '2.6.2');

@jlambe jlambe added this to the 1.0 milestone Jul 23, 2014
@jlambe jlambe added the bug label Jul 23, 2014
@jlambe jlambe self-assigned this Jul 23, 2014
@jlambe
Copy link
Contributor Author

jlambe commented Jul 23, 2014

Error is coming from the registered URL to the admin assets. Missing 'admin' in the URL.

$adminUrl = themosis_plugin_url().'/app/admin/assets';

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

No branches or pull requests

1 participant