Sha256: fd298689671efe65529135bd4df33966838e9303f9fde57451c19830380f7c33

Contents?: true

Size: 668 Bytes

Versions: 6

Compression:

Stored size: 668 Bytes

Contents

pageflow.SidebarRouter = Backbone.Marionette.AppRouter.extend({
  appRoutes: {
    'pages/:id': 'page',
    'pages/:id/:tab': 'page',
    'chapters/:id': 'chapter',

    'files/image_files?page=:page_id&attribute=:attribute': 'imageFiles',
    'files/video_files?page=:page_id&attribute=:attribute': 'videoFiles',
    'files/audio_files?page=:page_id&attribute=:attribute': 'audioFiles',

    'files/image_files': 'imageFiles',
    'files/video_files': 'videoFiles',
    'files/audio_files': 'audioFiles',

    'files?page=:page_id&attribute=:attribute': 'files',
    'files': 'files',

    'meta_data': 'metaData',
    'publish': 'publish',

    '.*': 'index'
  }
});

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pageflow-0.1.0 app/assets/javascripts/pageflow/editor/routers/sidebar_router.js
pageflow-0.0.5 app/assets/javascripts/pageflow/editor/routers/sidebar_router.js
pageflow-0.0.4 app/assets/javascripts/pageflow/editor/routers/sidebar_router.js
pageflow-0.0.3 app/assets/javascripts/pageflow/editor/routers/sidebar_router.js
pageflow-0.0.2 app/assets/javascripts/pageflow/editor/routers/sidebar_router.js
pageflow-0.0.1 app/assets/javascripts/pageflow/editor/routers/sidebar_router.js