Sha256: 8bf34976d364652bfe0c030e1dff16d2f6af83895ad32467b8992b4f5e3df48a

Contents?: true

Size: 1.02 KB

Versions: 50

Compression:

Stored size: 1.02 KB

Contents

<script>
  Alchemy.routes = {

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

    admin_trash_path: function(page_id) {
      var url = '<%= alchemy.admin_trash_path %>';
      if (page_id) url += '?page_id=' + page_id;
      return url;
    },

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

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

    move_api_node_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

50 entries across 50 versions & 1 rubygems

Version Path
alchemy_cms-5.3.0 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-5.2.7 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-5.2.6 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-5.1.10 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-5.0.10 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-4.6.7 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-5.2.5 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-5.1.9 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-5.0.9 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-4.6.6 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-5.2.4 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-5.1.8 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-5.0.8 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-4.6.5 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-4.5.1 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-4.6.4 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-5.0.7 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-5.1.7 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-5.2.3 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-5.1.6 app/views/alchemy/admin/partials/_routes.html.erb