Class: Rails::TasksController

Inherits:
RailsInfoController show all
Defined in:
app/controllers/rails/tasks_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



8
9
10
11
12
13
# File 'app/controllers/rails/tasks_controller.rb', line 8

def index
  Rake::TaskManager. = true
  Rake.application.clear
  Rails.application.load_tasks
  @tasks = Rake.application.tasks
end