fixed conflict

This commit is contained in:
Nweni
2019-12-02 17:43:02 +06:30
118 changed files with 14390 additions and 190 deletions

View File

@@ -5,6 +5,7 @@ class Api::ApiController < ActionController::API
before_action :core_allow
helper_method :current_token, :current_login_employee, :get_cashier
before_action :core_allow
def core_allow
headers['Access-Control-Allow-Origin'] = '*'
@@ -14,6 +15,7 @@ class Api::ApiController < ActionController::API
end
private
#this is base api base controller to need to inherit.
#all token authentication must be done here
#response format must be set to JSON