Skip to content

Commit

Permalink
Prepare backbone route for datasets endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Jun 7, 2017
1 parent d75cec1 commit e5010ad
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client/galaxy/scripts/apps/analysis.js
Expand Up @@ -82,6 +82,7 @@ window.app = function app( options, bootstrapped ){
'(/)user(/)(:form_id)' : 'show_user_form',
'(/)workflow(/)' : 'show_workflows',
'(/)pages(/)(:action_id)' : 'show_pages',
'(/)pages(/)(:action_id)' : 'show_datasets',
'(/)workflow/configure_menu(/)' : 'show_configure_menu',
'(/)custom_builds' : 'show_custom_builds'
},
Expand Down Expand Up @@ -117,6 +118,10 @@ window.app = function app( options, bootstrapped ){
this.page.display( new UserPreferences.Forms( { form_id: form_id, user_id: Galaxy.params.id } ) );
},

show_datasets : function() {
this.page.display( new GridView( { url_base: Galaxy.root + 'dataset/list_', dict_format: true } ) );
},

show_pages : function( action_id ) {
this.page.display( new GridView( { url_base: Galaxy.root + 'page/list_published', dict_format: true } ) );
},
Expand Down

0 comments on commit e5010ad

Please sign in to comment.