|
|
|
@ -1,7 +1,9 @@
|
|
|
|
|
class CaseLogsController < ApplicationController |
|
|
|
|
skip_before_action :verify_authenticity_token, if: :json_create_request? |
|
|
|
|
before_action :authenticate, if: :json_create_request? |
|
|
|
|
# rubocop:disable Style/ClassVars |
|
|
|
|
@@form_handler = FormHandler.instance |
|
|
|
|
# rubocop:enable Style/ClassVars |
|
|
|
|
|
|
|
|
|
def index |
|
|
|
|
@submitted_case_logs = CaseLog.where(status: 1) |
|
|
|
|