Sha256: 44783add864b8ea270285d35fbc29955b577607aed8fb8cecce4a5dc08f32ab9

Contents?: true

Size: 1.52 KB

Versions: 31

Compression:

Stored size: 1.52 KB

Contents

<script>
  Alchemy.routes = {

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

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

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

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

    publish_admin_element_path: function(id) {
      return '<%= alchemy.publish_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);
      },
    },

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

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

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

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
alchemy_cms-7.3.5 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-7.2.8 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-7.1.13 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-7.3.4 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-7.3.3 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-7.3.2 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-7.2.7 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-7.3.1 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-7.3.0 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-7.2.6 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-7.2.5 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-7.1.12 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-7.2.4 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-7.1.11 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-7.2.3 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-7.1.10 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-7.2.2 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-7.1.9 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-7.2.1 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-7.1.8 app/views/alchemy/admin/partials/_routes.html.erb