controller from plugin not working

Jedrin
Thu, 26 May 2011 06:25:18 -0000

I have a controller:

vendor/plugins/buoy_report/lib/app/controllers/
buoy_station_controller.rb

class BuoyStationController < ActionController::Base

  def index
    render :text => ''buoy test''
  end

end

when I try the url for rails 2.3.11:

http://localhost:3000/buoy_station/index

I get:

Routing Error
No route matches "/buoy_station/index" with {:method=>:get}

--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org