Problems adding IssuesHelper in a plugin view
I added a view in my plugin where I want to do this:
<% content_for :sidebar do %> <%= render :partial => 'issues/sidebar' %> <% end %>
but I get:
ActionView::Template::Error (undefined local variable or method `render_sidebar_queries' for #<#<Class:0xb3c2624>:0xb3c92e4>): 13: <% end %> 14: <%= call_hook(:view_issues_sidebar_planning_bottom) %> 15: 16: <%= render_sidebar_queries %> 17: <%= call_hook(:view_issues_sidebar_queries_bottom) %>
I tried to include IssuesHelper in my controller but it doesn't change anything.
My redmine version is 2.2.1 btw.
RE: Problems adding IssuesHelper in a plugin view - Added by taha mohammed el kahlaoui over 3 years ago
Did u solve the problem ??
I have the same error trying to migrate one of our plugin.
I f u found a solution can u please post it ??
Thanks and best regards