Sha256: 4eb444199e21478f488ab6ec4f372fe84eab143408e08ddf032db77f2a2f894a

Contents?: true

Size: 330 Bytes

Versions: 2

Compression:

Stored size: 330 Bytes

Contents

class Admin::CacheController < Admin::BaseController

  def sweep
    sweep_cache_action
    flash[:notice] = _('Cache was cleared')
    redirect_to :controller => '/admin/settings'
  end

  def sweep_html
    sweep_cache_html
    flash[:notice] = _('HTML was cleared')
    redirect_to :controller => '/admin/settings'
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
typo-5.1.98 app/controllers/admin/cache_controller.rb
typo-5.2 app/controllers/admin/cache_controller.rb