AlchemyCMS / alchemy_cms

Alchemy is the Open Source Rails CMS framework for the component based web that can be used as classic server side rendered or headless CMS.
https://www.alchemy-cms.com
BSD 3-Clause "New" or "Revised" License
817 stars 312 forks source link

Add `message_for_resource_action` #2866

Closed tvdeyen closed 1 month ago

tvdeyen commented 1 month ago

What is this pull request for?

Returns a translated message for a flash notice or json response message without assigning it to flash[:notice].

Checklist

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.88%. Comparing base (6499cd4) to head (c9b7fde).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2866 +/- ## ======================================= Coverage 95.88% 95.88% ======================================= Files 229 229 Lines 6216 6218 +2 ======================================= + Hits 5960 5962 +2 Misses 256 256 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.