Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 341
- Log:
Lots of changes to Hub to make it Rails 2.3.11 compatible. This is being
checked in as one large changeset because it doesn't really split down into
smaller components without having something that doesn't function in the
intermediate steps.
- Author:
- rool
- Date:
- Sat Mar 19 19:11:39 +0000 2011
- Size:
- 1310 Bytes
1 | ####################################################################### |
2 | # File: tasks_controller.rb # |
3 | # (C) Hipposoft 2006 # |
4 | # # |
5 | # Purpose: Provide hub user account high-level task management. # |
6 | # # |
7 | # Author: A.D.Hodgkinson # |
8 | # # |
9 | # History: 17-Oct-2006 (ADH): Adapted from Clubhouse. # |
10 | ####################################################################### |
11 | |
12 | class TasksController < ApplicationController |
13 | helper :Tasks |
14 | layout 'default.html.erb' |
15 | |
16 | skip_before_filter :hubssolib_login_required |
17 | skip_before_filter :hubssolib_beforehand, :only => :service |
18 | skip_after_filter :hubssolib_afterwards, :only => :service |
19 | |
20 | def index |
21 | # Generate a list of available tasks. |
22 | |
23 | @title = 'Control panel' |
24 | end |
25 | |
26 | def service |
27 | # Warn that there is a service problem. |
28 | |
29 | @title = 'Service failure' |
30 | @exception_data = hubssolib_get_exception_message(params[:id]) |
31 | @service_fault = true # To tell the template not to talk to Hub |
32 | end |
33 | end |