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

Using $this when not in object context #2

Open
ScullWM opened this issue Oct 9, 2013 · 0 comments
Open

Using $this when not in object context #2

ScullWM opened this issue Oct 9, 2013 · 0 comments

Comments

@ScullWM
Copy link

ScullWM commented Oct 9, 2013

Hi thanks for this nice ServiceProvider!

Seem that the last update generate a Fatal error:
"Fatal error: Using $this when not in object context in" on Line 60.

Seems that the boot method can't access the jsContent method, probably bescause it's call in a lamba function.

Personnaly I've use a big content var to set the javascript content and replace elements.

Finaly (if i can help you) I won't use this ServiceProvider on my actual project because of all admin's url are available in a simple javascript file (I don't like this):
admin/user-{id}.html, admin/edit-user-{id}.html, admin/spy-user-{id}.html, admin/report-to-nsa-user-{id}.html, admin/engage-kill-for-user-{id}.html

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

1 participant