Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
course#index
use application layout instead![Screen Shot 2022-06-12 at 10 29 10](https://user-images.githubusercontent.com/9074856/173211788-cd9ab57f-e159-49f4-a14f-7bc4047d7771.png)
- Remove dead code from application layoutMotivation and Context
Currently, the home layout is almost a duplicate of the application layout, and is only used when rendering the home page (i.e.
courses#index
). In fact, the only difference when rendering with the application layout is that the tab title is "Autolab" instead of "Autolab Home".In order to avoid the need to duplicate future code changes across both layouts, this PR deletes the home layout and makes
courses#index
default to the usual application layout.How Has This Been Tested?
Used RubyMine grep to ensure no other route renders with the home layout
Diffed home layout with new application layout and ensured that any differences are inconsequential (notably, it has additional includes,
roster_error
flash handling, and persistent announcements)Ensured that home page looks the same and functions the same (but no surprises there)
Types of changes
Checklist:
overcommit --install && overcommit --sign
to use pre-commit hook for linting