mirror of
https://github.com/we-promise/sure.git
synced 2026-04-24 06:24:04 +00:00
* Remove plaid initialiser The initializer can be safely removed because: - Config is lazily loaded via Provider::Registry - reload_configuration is called after settings updates - All calling code handles nil configs gracefully - Initial nil state is fine - config loads on first use * Fix for missing config * Actually don't pollute application.rb * Add currency loading for balances * Fix race condition on lazy load * Allow loans to be imported in lunch flow also * Fix currency processor
16 lines
571 B
Plaintext
16 lines
571 B
Plaintext
<% if params[:step] == "method_select" %>
|
|
<%= render "accounts/new/method_selector",
|
|
path: new_loan_path(return_to: params[:return_to]),
|
|
show_us_link: @show_us_link,
|
|
show_eu_link: @show_eu_link,
|
|
show_lunchflow_link: @show_lunchflow_link,
|
|
accountable_type: "Loan" %>
|
|
<% else %>
|
|
<%= render DS::Dialog.new do |dialog| %>
|
|
<% dialog.with_header(title: t(".title")) %>
|
|
<% dialog.with_body do %>
|
|
<%= render "loans/form", account: @account, url: loans_path %>
|
|
<% end %>
|
|
<% end %>
|
|
<% end %>
|