Routin Error

Hi,
i’m working with Rails 3 and ruby 1.9.2 to make a plugin.
Things went smoothly until i just added a new controller, view and
helpers.
Requesting a route to any of the new controllers actions caused Rails
to die with the exception ActionController::RoutingError (undefined
method `sub for nil:NilClass)
there’s no stacktrace or

this my root.rb


namespace “admin” do
resources :transfers
end


All files are in their place according to the namespace

i need some help
best regards.

Might try a symbol for admin. Also is your controller is
Admin::TransfersController?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs