1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-21 14:19:39 +02:00
Maybe/app/helpers/accounts_helper.rb
Muhammed Kılıç 6d0e5febe9
Fix accountable text and alignment (#330)
* Fix #319 Accountable text format

* Fix account index table alignment

* Update to_accountable_title helper

---------

Signed-off-by: Muhammed Kılıç <muhammeddkilicc@gmail.com>
2024-02-06 19:48:05 -06:00

5 lines
105 B
Ruby

module AccountsHelper
def to_accountable_title(accountable)
accountable.model_name.human
end
end