You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using rails 5.2.2.1 and ruby 2.5.5 with apitome 0.3.0, am getting the following error when access the documentation path:
Failure/Error: click_link 'Documentation'
ActionView::Template::Error:
undefined method `simulated_path' for #<#<Class:0x00007fe01f8d3450>:0x00007fe01f8d1ad8>
My initializer uses default settings, apart from
config.doc_path = "doc/api"
config.title = "The API Documentation"
config.layout = "layouts/apidocs.html.erb"
config.readme = "../api.md"
At the end of my routes file, I have mount Apitome::Engine => 'apidocs#index'
and I do have authentication using
class ApiController < ActionController::API
include Response
include ExceptionHandler
before_action :authorize_request
attr_reader :current_user
private
def authorize_request
@current_user = (AuthorizeApiRequest.new(request.headers).call)[:user]
end
end
As this looks similar to this issue, I tried
using the master branch and also ref: "c779d67", but to no avail. It looks like the problem starts in 0.2.1.
The text was updated successfully, but these errors were encountered:
Using
rails 5.2.2.1
andruby 2.5.5
withapitome 0.3.0
, am getting the following error when access the documentation path:My initializer uses default settings, apart from
At the end of my routes file, I have
mount Apitome::Engine => 'apidocs#index'
and I do have authentication using
As this looks similar to this issue, I tried
using the master branch and also
ref: "c779d67"
, but to no avail. It looks like the problem starts in 0.2.1.The text was updated successfully, but these errors were encountered: