I have created two rather simple ROR applications. I would like to link them together but they are in different sub directories and use different databases. I created App1 and it is in use. I have since created app2, which triggers two small db searches. I would like to have app2 link to app1 without having to copy app2 into the same directory as app1.
They exists in C:\ruby\bin\app1 and C:\ruby\bin\app2.
I tried: <%= link_to 'Building Permits ', :controller => 'item', :action => 'list' %><br /> this is from within app2\admin\main
I get the following error: no route found to match "/item/list" with {:method=>:get}
I am new at this and learning as I go along, any help would be greatly appreciated.
Lewis