Add basic REST API

This commit is contained in:
Martin Lensment 2015-01-07 12:39:17 +02:00
parent b934850ba7
commit dc2270491d
5 changed files with 53 additions and 0 deletions

View file

@ -27,6 +27,9 @@ module Registry
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
# config.i18n.default_locale = :de
config.paths.add File.join('app', 'api'), glob: File.join('**', '*.rb')
config.autoload_paths += Dir[Rails.root.join('app', 'api', '*')]
config.generators do |g|
g.stylesheets false
g.javascripts false