-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adds iiif drag n drop to show page for Mirador viewed images
- Loading branch information
1 parent
216bb32
commit 9ee5683
Showing
6 changed files
with
34 additions
and
8 deletions.
There are no files selected for viewing
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,18 +1,18 @@ | ||
## | ||
# Mirador controller providing an iframeable Mirador | ||
class MiradorController < ApplicationController | ||
before_action :set_manifest_url | ||
layout :false | ||
before_action :set_manifest | ||
layout false | ||
|
||
def index; end | ||
|
||
private | ||
|
||
def set_manifest_url | ||
@manifest_url = mirador_params | ||
def set_manifest | ||
@manifest = mirador_params | ||
end | ||
|
||
def mirador_params | ||
params.require(:manifest_url) | ||
params.require(:manifest) | ||
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
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
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
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