Class: Location::FinderController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- Location::FinderController
- Defined in:
- app/controllers/location/finder_controller.rb
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
5 6 7 8 9 |
# File 'app/controllers/location/finder_controller.rb', line 5 def show Finder.find params[:postal_code] do |f| @address = f.address.to_hash(only: params[:only]).to_json end end |