Class: Remotty::Rails::Engine
- Inherits:
-
Rails::Engine
- Object
- Rails::Engine
- Remotty::Rails::Engine
- Defined in:
- lib/remotty/rails/engine.rb
Overview
기본 설정
-
serializer
-
root key를 사용하지 않음
-
-
wrap parameters
-
enable for json
-
-
paperclip
-
url => ‘/system/:class/:attachment/:id_partition/:style/:hash.:extension’
-
default_url => nil (angular에서 처리)
-
-
Devise
-
skip session storage
-
use custom view
-
return json error occur
-
add token based authentication strategy
-
-
CORS
-
allow all
-
-
Rails middleware
-
Rack::Session::Pool
-
ActionDispatch::Session::CookieStore, :cookie_only => false, :defer => true
-
ActionDispatch::Flash
-