Project

General

Profile

undefined method 'css_issue_classes'

Added by Yann Marquet over 14 years ago

Hello, I'm developing a plugin to enable live recording of the time spent on issues and projects

My idea was to use a grid very much like the _list.rhtml of the issues controller. But i get this error undefined method 'css_issue_classes' at this line:

    <tr id="issue-<%= issue.id %>" class="hascontextmenu <%= cycle('odd', 'even') %> <%= css_issue_classes(issue) %>">

In my controller i included the following helpers:

 helper :queries
 helper :sort
 include SortHelper
 include IssuesHelper

Ruby version 1.8.6 (universal-darwin9.0)
RubyGems version 1.3.5
Rails version 2.1.2
Active Record version 2.1.2
Action Pack version 2.1.2
Active Resource version 2.1.2
Action Mailer version 2.1.2
Active Support version 2.1.2
Application root /Users/stuf/0.8.3
Environment development
Database adapter mysql
Database schema version 101

Couldn't find any resource on that. Might be an issue(yes, i know redmine is all about issues :D ) with the way helpers are loaded or i might be missing an include in the controller?