Sha256: 6d4be5c970a07fe9341024c9536cfaf25e1f7a5c99929193c53cffba5dd7f0d7

Contents?: true

Size: 257 Bytes

Versions: 4

Compression:

Stored size: 257 Bytes

Contents

(function() {

  _.def('<%= javascript_namespace %>.Router')["extends"]('Luca.Router')["with"]({
    routes: {
      "": "default"
    },
    "default": function() {
      return this.app.navigate_to("pages").navigate_to("main");
    }
  });

}).call(this);

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
luca-0.9.76 lib/generators/luca/application/templates/javascripts/router.js
luca-0.9.7 lib/generators/luca/application/templates/javascripts/router.js
luca-0.9.65 lib/generators/luca/application/templates/javascripts/router.js
luca-0.9.6 lib/generators/luca/application/templates/javascripts/router.js