app/controllers/corners_controller.rb
# show menus associated to corner
# necessary to respond to remote call for toggled detail
show menus associated to corner
necessary to respond to remote call for toggled detail
show menus associated to corner necessary to respond to remote call for toggled detail
def show  
    catch :flash_now do find_detail end
    div_id = params[:div_id]
    render :update do |page|
      page[div_id].replace_html  :partial => "detail"
    end
  end
def show catch :flash_now do find_detail end div_id = params [ :div_id ] render :update do | page | page [ div_id ] . replace_html :partial => "detail" end end
show menus associated to corner
necessary to respond to remote call for toggled detail
show menus associated to corner necessary to respond to remote call for toggled detail