Class: BurdenWeb::ApplicationController

Inherits:
ActionController::Base
  • Object
show all
Defined in:
app/controllers/burden_web/application_controller.rb

Direct Known Subclasses

RunsController, TasksController

Instance Method Summary collapse

Instance Method Details

#tasksObject



3
4
5
6
7
8
# File 'app/controllers/burden_web/application_controller.rb', line 3

def tasks
  Rails.application.load_tasks
  Rake.application.tasks.keep_if do |task|
    task.name =~ /^[a-z0-9_:]+$/
  end
end