Class: Courrier::Previews::CleanupsController

Inherits:
ActionController::Base
  • Object
show all
Defined in:
app/controllers/courrier/previews/cleanups_controller.rb

Instance Method Summary collapse

Instance Method Details

#createObject



6
7
8
9
10
# File 'app/controllers/courrier/previews/cleanups_controller.rb', line 6

def create
  system("bin/rails courrier:clear")

  redirect_to root_path
end