Class: Courrier::Previews::CleanupsController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- Courrier::Previews::CleanupsController
- Defined in:
- app/controllers/courrier/previews/cleanups_controller.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
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 |