Files
aperonight/app/helpers/application_helper.rb
Kevin BATAILLE 30f3ecc6ad refactor(events): replace parties concept with events throughout the application
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>

This commit refactors the entire application to replace the 'parties' concept with 'events'. All controllers, models, views, and related files have been updated to reflect this change. The parties table has been replaced with an events table, and all related functionality has been updated accordingly.
2025-08-28 13:20:51 +02:00

10 lines
197 B
Ruby
Executable File

module ApplicationHelper
# Convert prince from cents to float
def format_price(cents)
(cents.to_f / 100).round(2)
end
# Include flash message helpers
include FlashMessagesHelper
end