Removed def index left over from attempted conversion to controller
Rollback changes and fix missing 'end'
cleanup
Migrate to add the admin boolean field to the students table.
Add admin boolean field to students
Link to assignments with has_many
Add missing end and proper indent
Added if statement to CSV handling and code indenting

Added an if statment to only create assignments if an email matches an
exisiting student. I will be trying to port this to something simmilar to
what was shown in class where it will also not make duplicates or
update/override them if they occur.
Added Assignments upload path
Moved The navigations links out of index and into the over all layout template

This will allow for all pages to show the nav links though less pretty than
the heroku app I will try an improve this possible by the end of the class
all will be done with divs and bootstrap
Added admin only access to csv upload of student list
FIX Mostly fixed incorrect variable names, missing ends, and other calls

Had to correct misspellings of assignments in table data fields
Point to the right upload path (also when I corrected routes, and controller)
Returned admin user only access to the uploads field for csv and only
non admin access to average percentage*

*may remove this later
Added handling of a file upload
Added all navigation links and sigin links if need to the top.