Created
February 14, 2016 21:25
-
-
Save VelizarHristov/127defdc4265bda20240 to your computer and use it in GitHub Desktop.
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
@user_type = if current_staff.is_owner? | |
:owner | |
elsif current_staff.is_admin_only? | |
:admin | |
elsif current_staff.is_driver_only? | |
:driver | |
elsif current_staff.is_ironer_only? | |
:ironer | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment