Hi,
in application.rb is
def index
get_panel
render :partial => ‘panel’
end
in another_controller.rb i have
def index
@array = %w{‘array’, ‘elements’}
end
i want the array to be available to the view, but also want the same
method calls as is in application.rb. can i ‘merge’ the two index()
methods?