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 …