-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show contents list in specialist document view
This updates the view to use the new `show_contents_list?` method from SpecialistDocumentPresenter.
- Loading branch information
1 parent
d65c64f
commit 5f00ccf
Showing
2 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
class SpecialistDocumentController < ContentItemsController | ||
include Cacheable | ||
|
||
def show; end | ||
def show | ||
@specialist_document_presenter = SpecialistDocumentPresenter.new(content_item) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters