Class: AcFilterDefsController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/ac_filter_defs_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



6
7
8
9
10
11
12
13
14
# File 'app/controllers/ac_filter_defs_controller.rb', line 6

def index
  @ac_filter_defs = AcFilterDef.find(:all)
  respond_to do |format|
    format.html # index.html.erb
    format.xml { render :xml => @ac_filter_defs }
    format.fxml { render :fxml => @ac_filter_defs.to_fxml(
      {:include => {:ac_filters => {:include => { :ac_filter_options => {}}}}} )}
  end
end