Class: C2::Informant::LocusController
- Inherits:
-
BaseController
- Object
- BaseController
- C2::Informant::LocusController
- Defined in:
- app/controllers/c2/informant/locus_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
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 |
#update ⇒ Object
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 |