Sha256: b6f4cabcbdaec88c09a3d12e3d910b39038f2af022ebc5bd427ec97475d094a3
Contents?: true
Size: 431 Bytes
Versions: 10
Compression:
Stored size: 431 Bytes
Contents
class PlansController < ApplicationController layout Saucy::Layouts.to_proc def index @plans = Plan.all end def edit @plans = Plan.all @account = current_account end def update @plans = Plan.all @account = current_account @account.save_braintree!(params[:account]) redirect_to edit_account_path(@account), :notice => t('.update.notice', :default => "Plan changed successfully") end end
Version data entries
10 entries across 10 versions & 1 rubygems