-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trivial custom backend route config. #2050
Conversation
It's not that simple. There are things that depend on This could be the starting point but there's definitely a lot of work still to be done. |
I know @ugisozols. In best way it will be nice to split frontend and backend and mount them separately. |
@@ -43,4 +43,7 @@ Refinery::Core.configure do |config| | |||
|
|||
# Register extra stylesheet for backend (optional options) | |||
# config.register_stylesheet "custom", :media => 'screen' | |||
|
|||
# Specify own backend path. Default is to refinery. | |||
# config.backend_route = 'retro' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other issues aside, this should be
# config.backend_route = <%= Refinery::Core.backend_route.inspect %>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, my lord.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then we don't need to say "Default is to refinery" because it will be shown :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I totally understand.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rebased @parndt .
This is a step in the right direction - thanks! |
Requested by @Marshy on IRC.