mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 03:58:27 +02:00
Add basic REST API
This commit is contained in:
parent
b934850ba7
commit
dc2270491d
5 changed files with 53 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue