mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 03:54:08 +00:00
Prevent account deletions when account is linked to a Plaid Item (#2218)
* Prevent account deletions when account is linked to a Plaid Item * Only guard deletions in UI and controller, not at model level
This commit is contained in:
@@ -45,10 +45,6 @@ module ApplicationHelper
|
||||
content_for(:header_description) { page_description }
|
||||
end
|
||||
|
||||
def family_stream
|
||||
turbo_stream_from Current.family if Current.family
|
||||
end
|
||||
|
||||
def page_active?(path)
|
||||
current_page?(path) || (request.path.start_with?(path) && path != "/")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user