Hi,
I have a controller called contents so when i point to
http://localhost:3006/contents/list i get my list of conents with the
usual edit/delete etc.
I have created a new folder called administration in the view and an
administration controller. I have put the contents view folder in
administration folder and added the following code to the administration
controller:
class AdministrationController < ApplicationController
def index
redirect_to ''Administration/contents/list'', :controller
=>
''contents''
end
end
when i go to the following link http://localhost:3006/administration/ i
just get a blank page.
Can anyone tell me what i am doing wrong, ive tried a host of things but
nothing has worked.
Eventually i want to have a page in my administration view that renders
the list from the contents folder view.
Can anyone help?
--
Posted via http://www.ruby-forum.com/.