Skip to content

Allow customizing parent controller of Blazer::BaseController#473

Open
grk wants to merge 3 commits into
ankane:masterfrom
grk:custom-base-controller
Open

Allow customizing parent controller of Blazer::BaseController#473
grk wants to merge 3 commits into
ankane:masterfrom
grk:custom-base-controller

Conversation

@grk

@grk grk commented May 23, 2024

Copy link
Copy Markdown

I ran into the problem of having admin user auth methods defined on a controller that inherits from ApplicationController, and thus being unable to properly secure blazer.

This PR (or more like a draft to start a discussion) adds an ability to customize that.

By default it will behave as before, inheriting from ApplicationController, but it's customizable in Settings['base_controller'].

@n-studio

n-studio commented Aug 4, 2025

Copy link
Copy Markdown

Great feature and very simple implementation. @ankane Is there any blocker?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants