Рефакторинг обработчиков. Часть 2 #21
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
+22
-1
@@ -39,7 +39,28 @@ admin() ->
|
||||
|
||||
client() ->
|
||||
Modules = [
|
||||
%% пока пусто; добавьте handler_events, handler_event_by_id и др.
|
||||
handler_health,
|
||||
handler_register,
|
||||
handler_login,
|
||||
handler_refresh,
|
||||
handler_booking_by_id,
|
||||
handler_bookings,
|
||||
handler_calendar_by_id,
|
||||
handler_calendar_view,
|
||||
handler_calendars,
|
||||
handler_event_by_id,
|
||||
handler_event_occurrences,
|
||||
handler_events,
|
||||
handler_reports,
|
||||
handler_review_by_id,
|
||||
handler_reviews,
|
||||
handler_search,
|
||||
handler_subscription,
|
||||
handler_ticket_by_id,
|
||||
handler_tickets,
|
||||
handler_user_bookings,
|
||||
handler_user_me,
|
||||
handler_user_reviews
|
||||
],
|
||||
lists:flatmap(fun trails_from_module/1, Modules).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user