Thanks to Nicholas Henry and Sijo Kg for responding.

Having to add the routes to the routes.rb file still seems a
cumbersome approach, but so be it.  Unfortunately it isn't working as
I raise a Routing Error ( No route matches "/link" with
{:method=>:get} ) with the following configuration

----------------
ActionController::Routing::Routes.draw do |map|
    map.namespace :info do |info|
      info.resources :citation
      info.resources :download
      info.resources :link
      info.resources :recommendation
    end
  # Install the default routes as the lowest priority.
  map.connect ':controller/:action/:id'
  map.connect ':controller/:action/:id.:format'
end

-----------
class Info::LinkController < ApplicationController
  def index
    @title = "LINKS"
  end
end
---------
  <li><%= link_to "Links", {:controller =>'link', :action =>'index' }
%></li>
---------


--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to