Sha256: 4f14874ff377133ce90124133da71c14f01a1493a25e0be0ed5137690d86dc91

Contents?: true

Size: 185 Bytes

Versions: 2

Compression:

Stored size: 185 Bytes

Contents

module RailsLiveDashboard
  class CleanController < ApplicationController
    def destroy
      Entry.delete_all

      redirect_to dashboard_path, status: :see_other
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_live_dashboard-0.1.1 app/controllers/rails_live_dashboard/clean_controller.rb
rails_live_dashboard-0.1.0 app/controllers/rails_live_dashboard/clean_controller.rb