Module: Brick::RouteSet

Defined in:
lib/brick.rb

Instance Method Summary collapse

Instance Method Details

#finalize!Object



886
887
888
889
890
891
892
893
# File 'lib/brick.rb', line 886

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