Sha256: 5736ea228a64977ceb596a00b8964639d6d4875712b7a0b341617115498fa631

Contents?: true

Size: 1.18 KB

Versions: 15

Compression:

Stored size: 1.18 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);
    },

    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);
      },
    },

    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 %>'
  };
</script>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
alchemy_cms-6.0.14 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-6.0.13 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-6.0.12 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-6.0.11 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-6.0.10 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-6.0.9 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-6.0.8 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-6.0.7 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-6.0.6 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-6.0.5 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-6.0.4 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-6.0.3 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-6.0.2 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-6.0.1 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-6.0.0 app/views/alchemy/admin/partials/_routes.html.erb