initial copy commit
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
if defined?(ActiveModelSerializers)
|
||||
ActiveModelSerializers.config.adapter = :json_api # Default: `:attributes`
|
||||
#ActiveModelSerializers.config.key_transform = :unaltered # explicitly set because json api moves to dash
|
||||
ActiveModelSerializers.config.jsonapi_pagination_links_enabled = false # manual meta setting
|
||||
ActiveModelSerializers.config.jsonapi_namespace_separator = '/' # Default: `:attributes`
|
||||
ActiveModelSerializers.config.jsonapi_resource_type = :singular
|
||||
end
|
||||
@@ -0,0 +1,8 @@
|
||||
Dunlop::Ember::Engine.routes.draw do
|
||||
get 'users/me'
|
||||
devise_scope :user do
|
||||
post 'users/sign_in', to: 'sessions#create'
|
||||
end
|
||||
root to: 'application#ember_path'
|
||||
get '*rest', controller: 'application', action: 'ember_path'
|
||||
end
|
||||
@@ -0,0 +1 @@
|
||||
Spring.application_root = './spec/dummy'
|
||||
Reference in New Issue
Block a user