Class: Tasks::People::AuthorController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Tasks::People::AuthorController
- Includes:
- TaskControllerConfiguration
- Defined in:
- app/controllers/tasks/people/author_controller.rb
Instance Method Summary collapse
Methods included from TaskControllerConfiguration
Instance Method Details
#index ⇒ Object
4 5 |
# File 'app/controllers/tasks/people/author_controller.rb', line 4 def index end |
#source_list_for_author ⇒ Object
7 8 9 10 |
# File 'app/controllers/tasks/people/author_controller.rb', line 7 def @person = Person.find(params[:id]) @sources = Source.where(id: @person.roles.where(type: 'SourceAuthor').map(&:role_object_id)) end |