Skip to content

Commit

Permalink
scaffold for #337
Browse files Browse the repository at this point in the history
  • Loading branch information
mjy committed May 8, 2018
1 parent 5d15fe7 commit 5ef127c
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/controllers/tasks/accessions/comprehensive_controller.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
class Tasks::Accessions::ComprehensiveController < ApplicationController
include TaskControllerConfiguration

# GET
def index
end

end
Empty file.
9 changes: 9 additions & 0 deletions config/interface/hub/user_tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -317,3 +317,12 @@ new_matrix_task:
- matrix
status: prototype
description: 'Assign the rows and columns of observation matrices.'
comprehensive_collection_object_task:
hub: true
name: 'Comprehensive collection object form'
related:
- collection_objects
categories:
- collection_object
status: prototype
description: 'An all-in-one task for digitizing collectiong objects.'
4 changes: 4 additions & 0 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -754,6 +754,10 @@
# Scopes arranged alphabetically first level below :tasks

scope :accessions do
scope :comprehensive, controller: 'tasks/accessions/comprehensive' do
get 'index', as: 'comprehensive_collection_object_task'
end

scope :report do
scope :dwc, controller: 'tasks/accessions/report/dwc' do
get '', action: :index, as: 'report_dwc_task'
Expand Down

0 comments on commit 5ef127c

Please sign in to comment.