Class: Taskr::Controllers::LogEntries

Inherits:
REST
  • Object
show all
Defined in:
lib/taskr/controllers.rb

Instance Method Summary collapse

Instance Method Details

#listObject



203
204
205
206
207
208
209
# File 'lib/taskr/controllers.rb', line 203

def list
  @log_entries = LogEntry.find(:all, 
    :conditions => ['task_id = ?', @input[:task_id]],
    :order => 'timestamp DESC, id DESC')
  
  render :log_entries_list
end