Class: LabsController

Inherits:
ActionController::Base
  • Object
show all
Defined in:
lib/generators/medivo/templates/labs_controller.rb

Instance Method Summary collapse

Instance Method Details

#lab_searchObject



2
3
4
5
# File 'lib/generators/medivo/templates/labs_controller.rb', line 2

def lab_search
  @lab_data = Medivo::Lab.data_for_zip(params[:zip_code])
  render :template=> 'search', :layout=>'layouts/application'
end