fixed redirect to user home page after creating new post instead of user profile.
include rails_12factor gem.
added title to login and register page when there are errors in the form. in the create action.
redirect to home page after login instead of profile.
tidied up articles for to add suitable labels. Removed br tags as they were affecting screen reader performance. changed title field from text_area to text_field. added sanitization method to the show article view to prevent against xss attacks.
added code to view all articles when admin is loged in but only approved ones when normal user is loged in.
non-admins cannot edit course, disability and university.
changed redirects for when impairments and educations were modified. gave more user-friendly messages upon editing of impairment and educations. added edit links for user to edit education and impairment records.
fixed radio buttons in the impairment forn.
added view link next to each education record. Tidied up education show page.
changed rating columns in educations table to integers, changed rating columns in university to decimal(3, 2).
added the ability to rate a university and show the average on the university page.