audit-log icon indicating copy to clipboard operation
audit-log copied to clipboard

Avoid error when using in api only mode

Open pzgz opened this issue 3 years ago • 1 comments

When using in API only mode, running rails g audit_log:install will result in method_missing': undefined method assets' for #<Rails::Application:...`, there might be a better way to detect api only mode application, but for now, simply check the assets attribute existence

pzgz avatar Oct 04 '21 10:10 pzgz

When using in API only mode, running rails g audit_log:install will result in method_missing': undefined method assets' for #<Rails::Application:...`, there might be a better way to detect api only mode application, but for now, simply check the assets attribute existence

Worked. Thanks

liijunwei avatar Dec 22 '21 13:12 liijunwei