-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TemplateController, views, and test moved to BundleController, fixes #…
…164 fixed image problem, added ext
- Loading branch information
1 parent
504bb65
commit be5fccc
Showing
9 changed files
with
18 additions
and
18 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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
class BundleContextController < ApplicationController | ||
|
||
def index | ||
end | ||
|
||
def create | ||
logger.debug("BundleContextController.create called") | ||
PreassemblyJob.perform_later | ||
end | ||
|
||
end |
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
app/views/template/_yaml_form.erb → app/views/bundle_context/_yaml_form.erb
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
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
app/views/template/index.html.erb → app/views/bundle_context/index.html.erb
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<nav class="navbar"> | ||
<a class="navbar-brand" href="#"><%= image_tag('sul-logo', height: '30') %></a> | ||
<a class="navbar-brand" href="#"><%= image_tag('sul-logo.png', height: '30') %></a> | ||
</nav> | ||
<div style="background-color: #8c1515; color: white; font-family: serif"> | ||
<h1 class="p-4">Accessioning</h1> | ||
<%= image_tag("bookheader", width: "100%", height: "75") %> | ||
<%= image_tag("bookheader.png", width: "100%", height: "75") %> | ||
</div> |
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,4 +1,4 @@ | ||
Rails.application.routes.draw do | ||
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html | ||
resources :template | ||
resources :bundle_context | ||
end |
2 changes: 1 addition & 1 deletion
2
spec/controllers/template_controller_spec.rb → ...rollers/bundle_context_controller_spec.rb
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
2 changes: 1 addition & 1 deletion
2
spec/views/template_spec.rb → spec/views/bundle_context_spec.rb
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