Class: Admin::BusterController

Inherits:
ResourceController
  • Object
show all
Defined in:
app/controllers/admin/buster_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



4
5
6
7
8
9
10
11
12
# File 'app/controllers/admin/buster_controller.rb', line 4

def index
  if request.post?
    if CacheBuster.bust_buster
      flash[:notice] = "Cache Buster Reset - Succeeded!"
    else
      flash[:notice] = "Cache Buster Reset - FAILED!"
    end
  end
end