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

Implement a better context in the action method #4

Closed
ghost opened this issue Sep 22, 2015 · 0 comments
Closed

Implement a better context in the action method #4

ghost opened this issue Sep 22, 2015 · 0 comments
Milestone

Comments

@ghost
Copy link

ghost commented Sep 22, 2015

For now, the complete router instance is passed to each action method when it is called.

Create a special context object that will be passed where different data will be found :

  • referer: The last route executed
  • authed: The current user state (logged in or not)
  • params: Named params parsed from the url

Anything else ?

@ghost ghost added the enhancement label Sep 22, 2015
@ghost ghost added this to the 0.5.0 milestone Sep 22, 2015
@ghost ghost modified the milestones: 0.6.0, 0.5.0 Oct 9, 2015
@ghost ghost modified the milestones: 0.6.0, 0.7.0 Nov 13, 2015
@ghost ghost modified the milestones: 0.7.0, 1.0.0 Mar 2, 2016
@ghost ghost closed this as completed Aug 7, 2016
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants