Class: LayersController

Inherits:
ApplicationController show all
Defined in:
app/controllers/layers_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



8
9
10
11
12
# File 'app/controllers/layers_controller.rb', line 8

def index
  respond_to do |format|
    format.json { render :json => Layer.list(current_ability, params[:layer_type], params[:topic]) }
  end
end