Sha256: 4b082dac88715d1b0c0eb1ae81d060569d694c0d728ecefb1bb8294e5a83aa91

Contents?: true

Size: 369 Bytes

Versions: 3

Compression:

Stored size: 369 Bytes

Contents

class App.Routers.Router extends Backbone.Router

  initialize: ->
    new App.Views.DefaultHelpers
    new App.Views.DropdownMenu if $('.dropdown-menu').length > 0
    new App.Views.Pickadate
    new App.Views.Editor
    new App.Views.MediaPicker
    new App.Views.ImageCropper
    new App.Views.KeyboardShortcuts

  routes:
    'admin': 'admin'

  admin: ->
    true

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cambium-1.3.2 app/assets/javascripts/cambium/admin/routers/router.js.coffee
cambium-1.3.1 app/assets/javascripts/cambium/admin/routers/router.js.coffee
cambium-1.3.0 app/assets/javascripts/cambium/admin/routers/router.js.coffee