-
Notifications
You must be signed in to change notification settings - Fork 463
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 `content_tag' for Apipie::ApipiesController #353
Comments
I have the same problem. I am using |
I'm using gem |
…ssue added heading helper_method to controller for when helper is not loaded
I tested to include ActionView::Helpers::TagHelper and it seems to work. |
@yoyos Where did you add this? |
in the helper or controller. Don't know the right place but it worked in both. https://github.com/Apipie/apipie-rails/blob/master/app/controllers/apipie/apipies_controller.rb It seems somebody already made a pullrequest :) |
I think Helper file is good then controller. module ApipieHelper |
I heavily expect this fix to be released in new version. |
+1 |
+1 |
1 similar comment
👍 |
it affected rails 4.2.2 as well, the fix works |
+1 |
Showing C:/Ruby21/lib/ruby/gems/2.1.0/gems/apipie-rails-0.3.4/app/views/apipie/apipies/_method_detail.erb where
line 9 AND 34
raised:
undefined method `content_tag' for #Apipie::ApipiesController:0xd10b3b0
Trace of template inclusion: C:/Ruby21/lib/ruby/gems/2.1.0/gems/apipie-rails-0.3.4/app/views/apipie/apipies/method.html.erb
This error occurs only with last 0.3.4 gem version. 0.3.3 was OK.
My code sample:
The text was updated successfully, but these errors were encountered: