# Plugin Controller Method never called

**URL:** https://meta.discourse.org/t/plugin-controller-method-never-called/42815
**Category:** Development
**Created:** [April 19, 2016, 11:14am UTC](https://meta.discourse.org/t/plugin-controller-method-never-called/42815 "2016-04-19T11:14:51Z")
**Posts on this page:** 1
**Showing post:** 15

<div class="post-metadata">

### Author: ![joebuhlig](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/joebuhlig/32/193054_2.png) [@joebuhlig](https://meta.discourse.org/u/joebuhlig)
#### Post date: [April 28, 2016, 2:24pm UTC](https://meta.discourse.org/t/plugin-controller-method-never-called/42815/15 "2016-04-28T14:24:57Z")

</div>

I’m not sure you can display views through controllers without an Ember route map. The only time I’ve called Ruby controller methods is through ajax calls. Take a look at the plugin how-to and look at the section where Robin talks about the route map.

> [@Developing Discourse Plugins - Part 5 - Add an admin interface](https://meta.discourse.org/t/beginners-guide-to-creating-discourse-plugins-part-5-admin-interfaces/31761):
>
> Previous tutorial: [Developing Discourse Plugins - Part 4 - Setup git](https://meta.discourse.org/t/developing-discourse-plugins-part-4-setup-git/31272) Sometimes [site settings](https://meta.discourse.org/t/beginners-guide-to-creating-discourse-plugins-part-3-custom-settings/31115) aren’t enough of an admin interface for your plugin to work the way you want. For example, if you install the [discourse-akismet](https://github.com/discourse/discourse-akismet) plugin, you might have noticed that it adds a navigation item to the admin plugins section in of your Discourse: In this tutorial we’ll show you how to add an admin interface for your plugin. I’m going to call my plugin purple-tentacle, in honor of [one of my favorit…](https://en.wikipedia.org/wiki/Day_of_the_Tentacle)

---

_[View the full topic](https://meta.discourse.org/t/plugin-controller-method-never-called/42815)._
