RaythaHQ / raytha

Raytha is a powerful CMS with an easy-to-use interface and fast performance. It offers custom content types, a template engine, and various access controls. It supports multiple storage providers and an automatically generated REST API. Upgrade your development workflow with Raytha.
MIT License
143 stars 30 forks source link

Minor bug fixes #152

Closed brendonofficial closed 7 months ago

brendonofficial commented 7 months ago

This PR fixes some minor code issues that I had noticed when cloning the repository.

Additionally, adding .idea to gitignore for those Rider users out there 😎

apexdodge commented 7 months ago

Thank you very much for your contribution. The one thing I am not sure of is asp-action vs asp-page. asp-action seems to work well. Is there a bug you noticed?

brendonofficial commented 7 months ago

@apexdodge ah, my apologies, this is supposed to be asp-route not asp-page. I have updated the PR.

Using asp-route here follows in line with other references to named routes within the codebase. Alternatively, asp-controller="EmailTemplates" asp-action="Index" would be used instead, but asp-action="EmailTemplatesIndex" won't work here as there is no such controller action named the same.

apexdodge commented 7 months ago

@brendonofficial Thank you for your contribution! This will be released with v1.1.4.