Sha256: 10884388a642cb7789366cd031576328421e79596f468379ff7167b54444049b

Contents?: true

Size: 222 Bytes

Versions: 10

Compression:

Stored size: 222 Bytes

Contents

module JobNotifier
  class AdaptersController < ActionController::Base
    skip_before_action :verify_authenticity_token

    def show
      send_file(JobNotifier::Adapters.get_adapter_path(params[:id]))
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
job_notifier-1.2.2 app/controllers/job_notifier/adapters_controller.rb
job_notifier-1.2.1 app/controllers/job_notifier/adapters_controller.rb
job_notifier-1.2.0 app/controllers/job_notifier/adapters_controller.rb
job_notifier-1.1.1 app/controllers/job_notifier/adapters_controller.rb
job_notifier-1.1.0 app/controllers/job_notifier/adapters_controller.rb
job_notifier-1.0.0 app/controllers/job_notifier/adapters_controller.rb
job_notifier-0.2.1 app/controllers/job_notifier/adapters_controller.rb
job_notifier-0.2.0 app/controllers/job_notifier/adapters_controller.rb
job_notifier-0.1.1 app/controllers/job_notifier/adapters_controller.rb
job_notifier-0.1.0 app/controllers/job_notifier/adapters_controller.rb