Displaying 1 result from an estimated 1 matches for "testmodulescontroller".
2010 May 10
0
How RoR extract a http parameterfrom arequest?
...t_modules/show/"+$F"boardid"),
{method :''get'',
onFailure:displaySIPTabFailure,
onComplete:displaySIPTabFailure
});
This is controller from the ROR controller acting as server:
class TestModulesController < ApplicationController
def index
@test_modules = TestModule.find(:all)
respond_to do |format|
format.html # index.html.erb
format.xml { render :xml => @test_modules }
end
end
def show
@test_module = TestModule.find(params[:id])
#TestModule is a module class a...