Project

General

Profile

Problems adding IssuesHelper in a plugin view

Added by Bishma Stornelli Ortega about 11 years ago

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.

Any help?

My redmine version is 2.2.1 btw.


Replies (1)

RE: Problems adding IssuesHelper in a plugin view - Added by taha mohammed el kahlaoui almost 10 years ago

Hi,
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

    (1-1/1)