Sha256: 26030e140856d96766040e4a76f89f9e5e84e79d009f880214edb3429838fd26

Contents?: true

Size: 400 Bytes

Versions: 3

Compression:

Stored size: 400 Bytes

Contents

Sandbox.Router = Luca.Router.extend
  routes:
    ""                : "default"
    "class_browser"   : "class_browser"
    "component_tester"   : "component_tester"

  default: ()->
    @app.navigate_to("pages").navigate_to "main"

  class_browser: ()->
    @app.navigate_to("pages").navigate_to "class_browser"

  component_tester: ()->
    @app.navigate_to("pages").navigate_to "component_tester"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
luca-0.9.2 assets/javascripts/sandbox/router.coffee
luca-0.9.1 assets/javascripts/sandbox/router.coffee
luca-0.9.0 assets/javascripts/sandbox/router.coffee