-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined method `layout' #89
Comments
Good morning and thanks for the comment. It looks like you're using a custom version of the controller (IE it's in your own app) - do you have any references I could look at regarding the code you're using for this? |
Thanks for your quick response. Yes, seems we are using `module V1 then other controllers using the following class TestController < BaseApiController ` |
Hmm - can you show me the code for BaseApiController? |
Here it is, but I don't know if that's the issue:
|
Update: |
Following all steps closely: I only can see the following message:
500 Internal Server Error
If you are the administrator of this website, then please read this web application's log file and/or the web server's log file to find out what went wrong.
Ruby terminal gives me this error:
Error during failsafe response: undefined method
layout' for ExceptionHandler::ExceptionsController:Class/var/www/sdapi/app/controllers/exception_handler/exceptions_controller.rb:36:in
<class:ExceptionsController>' /var/www/sdapi/app/controllers/exception_handler/exceptions_controller.rb:2:in
module:ExceptionHandler'/var/www/sdapi/app/controllers/exception_handler/exceptions_controller.rb:1:in
<top (required)>'
The text was updated successfully, but these errors were encountered: