Module: Brick::RouteSet

Defined in:
lib/brick.rb

Instance Method Summary collapse

Instance Method Details

#finalize!Object



880
881
882
883
884
885
886
887
# File 'lib/brick.rb', line 880

def finalize!
  if self == ::Rails.application.routes && !::Brick.routes_done
    append do
      add_brick_routes
    end
  end
  super
end