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