I want to change the action where in controller,  for example:

/radiant project/app/controllers/admin/pages_controller.rb    has one
'index' action

def index
    @homepage = Page.find_by_parent_id(nil)
    response_for :plural
  end

I want to change it to:

 def index
    @homepage = Page.find_by_created_by_id(current_user.id)
    response_for :plural
 end

But how can I change it through extension/

thanks
star

Reply via email to