Sha256: 3fd783ca167e064b6b738a9e3bf4782034d268e256ca6f6b97c4c73332f676c9
Contents?: true
Size: 304 Bytes
Versions: 2
Compression:
Stored size: 304 Bytes
Contents
class Admin::TapeSubscriptionsController < Admin::BaseController mongosteen def new url = params['url'] subscription = TapeDiscoveryService.new(url).fetch_subscription if not subscription render nothing: true else render json: subscription end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tape-chr-0.1.9 | app/controllers/admin/tape_subscriptions_controller.rb |
tape-chr-0.1.8 | app/controllers/admin/tape_subscriptions_controller.rb |