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