my
Ruby
code posted
by
alvin
created at 17 Sep 18:53
Edit
|
Back
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
class MainController < ApplicationController respond_to :js, :html, :xml def cezar respond_with do |format| format.html format.xml format.js do if request.xhr? #render :update do |page| render :json => {:kjkj=>'jhj', :jghg=>'yuggcc'}.to_json # end end end end end def magickquadro end end |
443 Bytes in 2 ms with coderay