Method: Pageflow::Configuration#editor_routing_constraint
- Defined in:
- lib/pageflow/configuration.rb
#editor_routing_constraint ⇒ Object
Either a lambda or an object with a ‘match?` method, to restrict access to the editor routes defined by Pageflow.
This can be used if published entries shall be available under different CNAMES but the admin and the editor shall only be accessible via one official url.
151 152 153 |
# File 'lib/pageflow/configuration.rb', line 151 def editor_routing_constraint @editor_routing_constraint end |