mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 12:04:08 +00:00
Opt-in to Current fully (#297)
This commit is contained in:
@@ -17,7 +17,7 @@ class AccountsController < ApplicationController
|
||||
end
|
||||
|
||||
def create
|
||||
@account = Account.new(account_params.merge(family: current_family))
|
||||
@account = Account.new(account_params.merge(family: Current.family))
|
||||
@account.accountable = account_params[:accountable_type].constantize.new
|
||||
|
||||
if @account.save
|
||||
|
||||
Reference in New Issue
Block a user