# Include hook code here require File.dirname(__FILE__) + '/lib/translates_query_keys' # Reload the routes after extending rails to handle the translates directive on each route ActionController::Routing::Routes.reload