Displaying 1 result from an estimated 1 matches for "problemhelp".
Did you mean:
problemhelper
2007 Jan 21
0
Safari doesn't pass the headers.
...s the next:
/app/controllers/problem_controller.rb
class ProblemController < ApplicationController
def index
render :action => ''index''
end
def myrequest
render(:update) {|page| page.updateContent(params[:content])}
end
end
/app/controllers/problem_helper.rb
module ProblemHelper
def updateContent(content)
page.replace_html ''content'', content
end
end
/app/views/problem/index.rhtml
<html>
<head>
<%= javascript_include_tag :defaults %>
<script language="javascript" type="text/javascript">
var Site = {
lo...