YaleSTC/reservations — pull request #831 by squidgetx (2014-07-26 22:03:00+00:00)
Title: add conditional for view mode

Resolves #830 by checking for the existence of params[:user][:role] before setting params[:user][:view_mode] to it.