jejacks0n / apitome

Apitome: /iˈpitəmē/ An API documentation presentation layer for RSpec API Documentation output.
250 stars 126 forks source link

There is no configuration option as "parent_controller"? #88

Closed nrvakil closed 5 years ago

nrvakil commented 6 years ago

Documentation mentions a configuration option for setting the parent controller with "parent_controller" key. But this raises undefined method parent_controller exception. What is the option then?

Thanks.

jejacks0n commented 5 years ago

It is in there.

https://github.com/jejacks0n/apitome/blob/master/lib/apitome/configuration.rb#L28

The example usage would be

Apitome.setup do |c|
  c.parent_controller = "MyApplicationController"
end