# Admin Plugin page is blank - Error: There is no route named adminPlugins.index

**URL:** https://meta.discourse.org/t/admin-plugin-page-is-blank-error-there-is-no-route-named-adminplugins-index/53550
**Category:** Bug
**Created:** [2016年十一月30日 03:19 UTC](https://meta.discourse.org/t/admin-plugin-page-is-blank-error-there-is-no-route-named-adminplugins-index/53550 "2016-11-30T03:19:35Z")
**Posts on this page:** 5
**Page:** 2

<div class="post-metadata">

### Author: ![rehe](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rehe/32/116975_2.png) [@rehe](https://meta.discourse.org/u/rehe)
#### Post date: [2016年十一月30日 12:47 UTC](https://meta.discourse.org/t/admin-plugin-page-is-blank-error-there-is-no-route-named-adminplugins-index/53550/21 "2016-11-30T12:47:15Z")

</div>

Fixed! The problem after updating to the latest version was the babble plugin. I’ve disabled it and everything works fine.

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [2016年十一月30日 17:52 UTC](https://meta.discourse.org/t/admin-plugin-page-is-blank-error-there-is-no-route-named-adminplugins-index/53550/22 "2016-11-30T17:52:07Z")

</div>

This is a correct fix, so thanks to @vinothkannans and @zogstrip for merging it so quickly.

I was surprised by this behaviour too. Previously there was the concept of a `route` and a `resource`, but the `resource` was removed in favor of the `{ resetNamespace: true }` option which makes a lot more sense. However, not every route is considered a new “level”. For example:

```javascript
this.route('hello', function() {
  this.route('world');
});

```

In this case, ‘hello’ gets an index, but ‘world’ does not. This makes sense to me, because ‘world’ would probably just be something related to ‘hello’. So the way Ember decides if it should add an index is by whether a route is a new “level” of routes, which is determined by whether it is created with a `function` as the final argument:

```javascript
this.route('hello', function() {
  this.route('world', function() {
    // now a new level, gets an index
  });
});

```

So @vinothkannans’s fix was to add a new function. He explicitly defines index to make it clear what we want, but just having the new level there would have done it anyway.

---

<div class="post-metadata">

### Author: ![Magnetidog](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/magnetidog/32/116910_2.png) [@Magnetidog](https://meta.discourse.org/u/Magnetidog)
#### Post date: [2016年十一月30日 19:53 UTC](https://meta.discourse.org/t/admin-plugin-page-is-blank-error-there-is-no-route-named-adminplugins-index/53550/23 "2016-11-30T19:53:47Z")

</div>

The fix worked for me, as well! Thanks @vinothkannans !

---

<div class="post-metadata">

### Author: ![vulkanino](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vulkanino/32/119654_2.png) [@vulkanino](https://meta.discourse.org/u/vulkanino)
#### Post date: [2016年十二月2日 15:03 UTC](https://meta.discourse.org/t/admin-plugin-page-is-blank-error-there-is-no-route-named-adminplugins-index/53550/24 "2016-12-02T15:03:23Z")

</div>

Thank you @vinothkannans it works for me too now.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2016年十二月2日 22:15 UTC](https://meta.discourse.org/t/admin-plugin-page-is-blank-error-there-is-no-route-named-adminplugins-index/53550/25 "2016-12-02T22:15:49Z")

</div>



[上一頁](https://meta.discourse.org/t/admin-plugin-page-is-blank-error-there-is-no-route-named-adminplugins-index/53550.md?page=1)
