Skip to content

Instantly share code, notes, and snippets.

@alexspeller
Created February 20, 2014 16:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexspeller/9117181 to your computer and use it in GitHub Desktop.
Save alexspeller/9117181 to your computer and use it in GitHub Desktop.
App.Router.map ->
@resource "foo"
@resource "bar", ->
@resource "baz"
@resource "login"
App.FancyLayoutView = Em.View.extend
layoutName: "fancy"
App.FooView = App.FancyLayoutView.extend()
App.BarView = App.FancyLayoutView.extend()
# BazView not needed as it's already nested under bar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment