Method: Locomotive::CurrentSiteController#destroy

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

#destroyObject



26
27
28
29
30
# File 'app/controllers/locomotive/current_site_controller.rb', line 26

def destroy
  authorize @site
  @site.destroy
  respond_with @site, location: sites_path
end