Method: Pageflow::Configuration#editor_routing_constraint

Defined in:
lib/pageflow/configuration.rb

#editor_routing_constraintObject

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.



120
121
122
# File 'lib/pageflow/configuration.rb', line 120

def editor_routing_constraint
  @editor_routing_constraint
end