# 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:** 10

<div class="post-metadata">

**Author:** ![EndruK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/endruk/32/50211_2.png) [@EndruK](https://meta.discourse.org/u/EndruK)\
**Post date:** [April 28, 2016, 12:12pm UTC](https://meta.discourse.org/t/plugin-controller-method-never-called/42815/10 "2016-04-28T12:12:29Z")

</div>

> [@joebuhlig](#):
>
> 1. General rule of thumb with controllers is to name them with a plural. So I changed SiteController to SitesController.
> 2. Make sure that controller is in this path: app/controllers/disraptor/sites\_controller.rb.

I changed the name of the controller and checked its path, but still nothing happens in the method.  
I uploaded my example code to [Github](https://github.com/EndruK/disraptor)

---

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