search for: administrationcontrol

Displaying 2 results from an estimated 2 matches for "administrationcontrol".

2006 Aug 09
1
View Directory Structure
...ents/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 wron...
2007 Sep 11
1
TypeError => Symbol as array index
...I''d now like to get some information from the controller ... So I tried before_filter ApplicationController on the controller and then : def self.filter(controller) id = self.session[:user_id] # some other stuff end And now, I get an error at the line of session : TypeError in AdministrationController#index Symbol as array index Could you explain me why ? Thanks a lot -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this...