Created
July 26, 2016 00:02
-
-
Save eduardopoleo/70f5caa6126f220730061f9e61d171ac 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
#routes.rb | |
root 'staff#vertical' | |
#Main route where we are going to bootstrap our application | |
get 'vertical' => 'staff#vertical' | |
#Routes where we are dumping the JSON data. | |
get 'all_salaries' => 'averages#all_salaries', defaults: { format: 'json' } | |
get 'professors_only' => 'averages#professors_only', defaults: { format: 'json' } | |
get 'administrative_staff' => 'averages#administrative_staff', defaults: { format: 'json' } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment