Last active
December 20, 2015 21:39
-
-
Save Chandler/6199002 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@resource 'organizations', path: "/orgs", -> | |
@resource 'show', path: ":organization_id", -> | |
@route 'settings' | |
visiting /orgs/17/settings renders 'settings' template into the outlet of the 'application' template. | |
I want it to render the templates into the outlets of the parents | |
settings -> show -> organizations -> application |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'd do like that:
Template
organisations
contains{{outlet}}
in witchorganization
will render and this last one can contain{{outlet}}
in whichorganization/index
andorganization/settings
would render