Class: C2::Informant::LocusController

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

Instance Method Summary collapse

Instance Method Details

#indexObject



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

def index
  respond_with(@locus = C2::Informant::Locus.all.order(:class_name => :asc))
end

#updateObject



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

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