Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
EVENT_TRANSLATIONS = {
'users#create' => 'User Created',
'users#update' => 'User Updated',
'orders#new' => 'Order Started',
'orders#create' => 'Order Created',
'orders#update' => 'Order Updated'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment