Sha256: 24f90e45064a7f3f86b392556dcebeefeb25478ad7dc42291ff80e661cff6a15

Contents?: true

Size: 825 Bytes

Versions: 62

Compression:

Stored size: 825 Bytes

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

    list_admin_elements_path: '<%= alchemy.list_admin_elements_path %>',
    order_admin_contents_path: '<%= alchemy.order_admin_contents_path %>',
    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 %>'

  };
</script>

Version data entries

62 entries across 62 versions & 2 rubygems

Version Path
alchemy_cms-4.0.6 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-3.6.7 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-3.6.6 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-4.1.2 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-4.1.1 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-4.1.0 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-4.0.5 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-4.0.4 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-4.1.0.rc1 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-4.0.3 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-3.6.5 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-4.0.2 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-4.1.0.beta app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-4.0.1 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-3.6.4 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-4.0.0 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-3.6.3 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-3.6.2 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-4.0.0.rc2 app/views/alchemy/admin/partials/_routes.html.erb
alchemy_cms-4.0.0.rc1 app/views/alchemy/admin/partials/_routes.html.erb