Class: C2::Informant::BucketsController

Inherits:
BaseController
  • Object
show all
Defined in:
app/controllers/c2/informant/buckets_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



4
5
6
# File 'app/controllers/c2/informant/buckets_controller.rb', line 4

def index
  respond_with(@locus = C2::Informant::Locus.find(params[:locus_id]).buckets)
end

#updateObject



8
9
10
# File 'app/controllers/c2/informant/buckets_controller.rb', line 8

def update
  respond_with(@locus = C2::Information::Locus.find(params[:locus_id]).buckets)
end