Sha256: b4aaef90ce731b8c075085a8535286559d9d64c44b4911818ce33c2034b2a902

Contents?: true

Size: 901 Bytes

Versions: 12

Compression:

Stored size: 901 Bytes

Contents

<script>
  Alchemy.routes = {

    admin_picture_path: function(id) {
      return '<%= alchemy.admin_picture_path(id: 1) %>'.replace(/1/, id);
    },

    fold_admin_element_path: function(id) {
      return '<%= alchemy.fold_admin_element_path(id: 1) %>'.replace(/1/, id);
    },

    node: {
      toggle_folded_api_path: function(id) {
        return '<%= alchemy.toggle_folded_api_node_path(id: 1) %>'.replace(/1/, id);
      },

      move_api_path: function(id) {
        return '<%= alchemy.move_api_node_path(id: 1) %>'.replace(/1/, id);
      },
    },

    order_admin_elements_path: '<%= alchemy.order_admin_elements_path %>',
    order_admin_pages_path: '<%= alchemy.order_admin_pages_path %>',
    link_admin_pages_path: '<%= alchemy.link_admin_pages_path %>',
    api_pages_path: '<%= alchemy.api_pages_path %>',
    api_elements_path: '<%= alchemy.api_elements_path %>'
  };
</script>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
alchemy_cms-6.0.0.pre.rc6 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-6.0.0.pre.rc5 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-6.0.0.pre.rc4 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-6.0.0.pre.rc3 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-6.0.0.pre.rc2 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-6.0.0.pre.rc1 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-6.0.0.pre.b6 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-6.0.0.pre.b5 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-6.0.0.pre.b4 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-6.0.0.b3 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-6.0.0.b2 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-6.0.0.b1 app/views/alchemy/admin/partials/_routes.html.erb