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

Are @ properties inferred for controller/route templates? #75

Open
wagenet opened this issue Mar 8, 2021 · 4 comments
Open

Are @ properties inferred for controller/route templates? #75

wagenet opened this issue Mar 8, 2021 · 4 comments

Comments

@wagenet
Copy link
Contributor

wagenet commented Mar 8, 2021

No description provided.

@lifeart
Copy link
Owner

lifeart commented Mar 9, 2021

inside route templates, @model should be controller.model, and this.foo should be controller.foo

@wagenet
Copy link
Contributor Author

wagenet commented Mar 12, 2021

What about the situation where you have only a route and no controller?

@lifeart
Copy link
Owner

lifeart commented Mar 13, 2021

In this case only @model allowed

@wagenet
Copy link
Contributor Author

wagenet commented Mar 15, 2021

Hmm... in this case it seemed like I needed to specify the Args. I'll investigate further.

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