# Missing controller actions from plugin

**URL:** <https://www.ruby-forum.com/t/missing-controller-actions-from-plugin/182864>\
**Category:** Rails\
**Created:** [February 4, 2010, 12:31am UTC](https://www.ruby-forum.com/t/missing-controller-actions-from-plugin/182864 "2010-02-04T00:31:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jedrin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/47e85d/32.png) [@Jedrin](https://www.ruby-forum.com/u/Jedrin)\
**Post date:** [February 4, 2010, 12:31am UTC](https://www.ruby-forum.com/t/missing-controller-actions-from-plugin/182864/1 "2010-02-04T00:31:20Z")

</div>

I am having a problem in that the url  
/map/del\_selected\_geo give me an error

Unknown action  
No action responded to del\_selected\_geo. Actions: get\_links and index

but if I go into console it seems to be there:

ctl = MapController.new  
ctl.public\_methods.grep(/selected/)  
[“del\_selected\_geo”]

That method was added inside of a plugin where this source is included  
via require() in init.rb:  
The module GeoHelper defines del\_selected\_geo()

require ‘geo\_helper’

class ActionController::Base  
include GeoHelper  
helper :geomap

end

# After that I also have:

ActionController::Base.class\_eval do  
path = File.join(File.dirname( **FILE** ), ‘app/views’)

self.append\_view\_path(path)

extend GeoCtlClass

end

I’m sort of puzzled on that …could the  
helper :geomap  
throw it off which is stuff for the view ?  
GeoHelper is controller related …
