Changeset 748
- Timestamp:
- 02/21/08 11:28:22 (11 months ago)
- Files:
-
- trunk/app/controllers/form_controller.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/app/controllers/form_controller.rb
r747 r748 58 58 @title = _('Select the form type to fill out') 59 59 60 form_types = FormType.find(:all, :conditions => ['ready = ?', true], : readonly => true)60 form_types = FormType.find(:all, :conditions => ['ready = ?', true], :order => 'name', :readonly => true) 61 61 62 62 redirect_with_message(_('No form types defined.'), :back) and return if form_types.empty?