Class: Iron::PublishedPageConstraint

Inherits:
Object
  • Object
show all
Defined in:
lib/iron/routing.rb

Instance Method Summary collapse

Instance Method Details

#matches?(request) ⇒ Boolean

Returns:

  • (Boolean)


43
44
45
# File 'lib/iron/routing.rb', line 43

def matches?(request)
  matches_locale?(request) && has_published_entry?(request)
end