luckyframework / luckyframework/website
Document how to temp skip CSRF
Open
Nobody has claimed this yet.
- Dominant language
- Crystal
- Stars
- 39
- Forks
- 62
- PR merge metrics
- No merged PRs in 30d
Description
You might need to do this for testing purposes.
You can do this in your spec.
Lucky::FormHelpers.temp_config(include_csrf_tag: false) do
# write a spec that hits a form here
end
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the website's documentation section covering testing, forms, or CSRF. Add the provided Crystal example for Lucky::FormHelpers.temp_config and explain that it can be used in a spec to skip the CSRF tag temporarily; the documentation is done when the example is discoverable and renders correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- crystal
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100