Skip to content

Commit c7256f3

Browse files
committed
Add 'api' as friendly_id_reserved_words in pages configuration
1 parent e2506f0 commit c7256f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/lib/refinery/pages/configuration.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def layout_template_whitelist
6060
self.types = Types.registered
6161
self.auto_expand_admin_tree = true
6262
self.friendly_id_reserved_words = %w(
63-
index new session login logout users refinery admin images
63+
index new session login logout users refinery admin images api
6464
)
6565
self.layout_templates_pattern = 'app', 'views', '{layouts,refinery/layouts}', '*html*'
6666
self.view_templates_pattern = 'app', 'views', '{pages,refinery/pages}', '*html*'

0 commit comments

Comments
 (0)