Sha256: 5c673bd94260b4fae358fae2dc573ad9a39fd67ca99aacaec2482cd92895a0f9

Contents?: true

Size: 340 Bytes

Versions: 3

Compression:

Stored size: 340 Bytes

Contents

require_dependency "payola_spy/application_controller"

module PayolaSpy
  class SubscriptionsController < ApplicationController
    def index
      @subscriptions = Payola::Subscription.order("created_at desc").page params[:page]
    end

    def show
      @subscription = Payola::Subscription.find_by_guid! params[:id]
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
payola_spy-0.0.3 app/controllers/payola_spy/subscriptions_controller.rb
payola_spy-0.0.2 app/controllers/payola_spy/subscriptions_controller.rb
payola_spy-0.0.1 app/controllers/payola_spy/subscriptions_controller.rb