Skip to content
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 content_tag for example tag #396

Closed
noctivityinc opened this issue Sep 25, 2015 · 1 comment
Closed

Undefined content_tag for example tag #396

noctivityinc opened this issue Sep 25, 2015 · 1 comment

Comments

@noctivityinc
Copy link

I just installed and started using apipie and received an error when using this in my controller:

example "{'id'=>391, 'name'=>'jlippiner@wecora.com', 'created_at'=>'2015-09-19T10:03:43-04:00', 'type'=>'Professional'}"

here is the error:

undefined method `content_tag' for #<Apipie::ApipiesController:0x007fb505621ad0>
Extracted source (around line #27):

24: <% end %>
25: 
26: <% unless method[:examples].blank? %>
27:   <%= heading(t('apipie.examples'), h_level) %>
28:   <% method[:examples].each do |example| %>
29:     <pre class="prettyprint"><%= example %></pre>
30:   <% end %>
@noctivityinc
Copy link
Author

Was able to get this fixed with the 3.2 Rails revision specified in #354

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants