class Passages::EngineRouteCollection

Specialized collection class inherited from RouteCollection specifically

for routes of Engines (this Engine included)

Public Class Methods

new(routes) click to toggle source
# File lib/passages/engine_route_collection.rb, line 8
def initialize(routes)
  @routes = routes.reject { |h| h[:routes].all?(&:internal?) }
end