Skip to content

Instantly share code, notes, and snippets.

@jackkitley
Created February 4, 2013 10:10
Show Gist options
  • Save jackkitley/4705977 to your computer and use it in GitHub Desktop.
Save jackkitley/4705977 to your computer and use it in GitHub Desktop.
//Catalogue
// catalogue: Em.Route.extend({
// route: '/catalogue',
// index: Ember.Route.extend({
// route: '/',
// connectOutlets: function (router,searchvalue) {
// router.get('applicationController').connectOutlet('catalogue');
// router.get('catalogueController').connectOutlet('cataloguelist','cataloguelist');
// router.get('catalogueController').connectOutlet('cataloguegroupfilter','cataloguegroups');
// router.get('catalogueController').connectOutlet('catalogueattributefilter','catalogueattributes');
// router.get('cataloguelistController').search({searchvalue:"","filter":"catalogue"});
// }
// }),
// search: Ember.Route.extend({
// route: '/:searchvalue',
// connectOutlets: function (router,searchvalue) {
// router.get('applicationController').connectOutlet('catalogue');
// router.get('catalogueController').connectOutlet('cataloguelist','cataloguelist');
// router.get('catalogueController').connectOutlet('cataloguegroupfilter','cataloguegroups');
// router.get('catalogueController').connectOutlet('catalogueattributefilter','catalogueattributes');
// router.get('cataloguelistController').search({"searchvalue":searchvalue.searchvalue,"filter":"catalogue"});
// }
// }),
// view: Ember.Route.extend({
// route: '/view/:itemguid',
// connectOutlets: function (router, item) {
// router.get('applicationController').connectOutlet('catalogueitem', item);
// // router.get('catalogueitemController').connectOutlet('catalogueimagegallery','cataloguegallery');
// router.get('catalogueitemController').show(item);
// }
// })
// }),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment