|
|
|
@ -34,7 +34,7 @@ module Mobile
|
|
|
|
|
version 'v1', using: :path
|
|
|
|
|
format :json
|
|
|
|
|
content_type :json, "application/json;charset=UTF-8"
|
|
|
|
|
use ActionDispatch::Session::CookieStore
|
|
|
|
|
use ActionDispatch::Session::CookieStore, key: '_educoder_session'
|
|
|
|
|
|
|
|
|
|
require 'digest'
|
|
|
|
|
use Mobile::Middleware::ErrorHandler
|
|
|
|
|