forked from External/greenlight
		
	Merge pull request #154 from zach-chai/exceptions
enable routes as exceptions app
This commit is contained in:
		@@ -28,6 +28,8 @@ module Greenlight
 | 
				
			|||||||
    # Application configuration should go into files in config/initializers
 | 
					    # Application configuration should go into files in config/initializers
 | 
				
			||||||
    # -- all .rb files in that directory are automatically loaded.
 | 
					    # -- all .rb files in that directory are automatically loaded.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    config.exceptions_app = self.routes
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # i18n
 | 
					    # i18n
 | 
				
			||||||
    # ensure each language has a regional fallback
 | 
					    # ensure each language has a regional fallback
 | 
				
			||||||
    config.i18n.available_locales = %w(en en-US)
 | 
					    config.i18n.available_locales = %w(en en-US)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user