Skip to content

Commit

Permalink
Add config reserved_paths in pages initializer template
Browse files Browse the repository at this point in the history
  • Loading branch information
bricesanchez committed Aug 8, 2018
1 parent 5517bce commit bcd259b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ Refinery::Pages.configure do |config|
# This only applies when marketable_urls is enabled.
# config.friendly_id_reserved_words = <%= Refinery::Pages.friendly_id_reserved_words.inspect %>

# You can specify reserved paths that won't interfere with others routes like ActiveStorage route
# config.reserved_paths = <%= Refinery::Pages.reserved_paths.inspect %>

# Configure how many pages per page should be displayed when a dialog is presented that contains a links to pages
# config.pages_per_dialog = <%= Refinery::Pages.pages_per_dialog.inspect %>

Expand Down

0 comments on commit bcd259b

Please sign in to comment.