Sha256: 9fc8ac24f8c65cb60776843e61487e76eb8949b1f54f0d67c037538758d618e5
Contents?: true
Size: 438 Bytes
Versions: 1
Compression:
Stored size: 438 Bytes
Contents
require_dependency "soonish/application_controller" module Soonish class SubscriptionsController < ApplicationController layout 'soonish' def new @subscription = Subscription.new end def create @subscription = Subscription.new params[:subscription] if @subscription.save redirect_to action: :thanks else render action: :new end end def thanks end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
soonish-0.0.1 | app/controllers/soonish/subscriptions_controller.rb |