Skip to content

Commit ae3d2d5

Browse files
committed
Add events url as option for nav item dynamic routes
1 parent e2f4da6 commit ae3d2d5

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

app/models/better_together/navigation_item.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ class NavigationItem < ApplicationRecord # rubocop:todo Metrics/ClassLength
1010
class_attribute :route_names, default: {
1111
content_blocks: 'content_blocks_url',
1212
communities: 'communities_url',
13+
events: 'events_url',
1314
geography_continents: 'geography_continents_url',
1415
geography_countries: 'geography_countries_url',
1516
geography_states: 'geography_states_url',

config/locales/en.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -695,6 +695,7 @@ en:
695695
navigation_items:
696696
route_names:
697697
communities: Communities
698+
events: Events
698699
content_blocks: Content Blocks
699700
geography_continents: Continents
700701
geography_countries: Countries

0 commit comments

Comments
 (0)