Skip to content

Commit

Permalink
Add 'api' as friendly_id_reserved_words in pages configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
bricesanchez committed Nov 17, 2017
1 parent e2506f0 commit c7256f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/lib/refinery/pages/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def layout_template_whitelist
self.types = Types.registered
self.auto_expand_admin_tree = true
self.friendly_id_reserved_words = %w(
index new session login logout users refinery admin images
index new session login logout users refinery admin images api
)
self.layout_templates_pattern = 'app', 'views', '{layouts,refinery/layouts}', '*html*'
self.view_templates_pattern = 'app', 'views', '{pages,refinery/pages}', '*html*'
Expand Down

0 comments on commit c7256f3

Please sign in to comment.