Created
          July 13, 2015 20:37 
        
      - 
      
 - 
        
Save jesuslerma/8025528601572eb3a1b3 to your computer and use it in GitHub Desktop.  
    Routes configuration for versionist
  
        
  
    
      This file contains hidden or 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
    
  
  
    
  | namespace :api, path: '/api' do | |
| api_version(:module => "V1", :header => {:name => "Accept", | |
| :value => "application/vnd.hsnews.com+json; version=1"}, | |
| :defaults => {:format => :json}, :default => true) do | |
| end | |
| end | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment