Method: Locomotive::CurrentSiteController#update

Defined in:
app/controllers/locomotive/current_site_controller.rb

#updateObject



20
21
22
23
24
# File 'app/controllers/locomotive/current_site_controller.rb', line 20

def update
  authorize @site
  service.update(@site, site_params)
  respond_with @site, location: -> { edit_current_site_path(current_site) }
end