Class: RailsTwirp::Engine

Inherits:
Rails::Railtie
  • Object
show all
Defined in:
lib/rails_twirp/engine.rb

Overview

Even though this is an engine, we don’t inherit from Rails::Engine because we don’t want anything it provides.

Defined Under Namespace

Modules: TwirpValue

Instance Method Summary collapse

Instance Method Details

#routesObject



85
86
87
# File 'lib/rails_twirp/engine.rb', line 85

def routes
  @routes ||= ActionDispatch::Routing::RouteSet.new
end