Horizon: [Request] Option to change the route prefix

Created on 18 Aug 2017  路  8Comments  路  Source: laravel/horizon

Is there a way to change the route prefix? I'm looking to make this a standalone app, so it would be nice to have it served from the root instead of /horizon.

Most helpful comment

That's not the same... It's what I'm currently doing as a workaround. I think it's perfectly reasonable to desire the base path of a package to be changed.

All 8 comments

Route::redirect('/', '/horizon');

That's not the same... It's what I'm currently doing as a workaround. I think it's perfectly reasonable to desire the base path of a package to be changed.

Not sure this is what you're looking for either, but I added this in my routes file. It works, but it looks like it still uses a "horizon" prefix. I am running this as a standalone app as well, so your request would be nice.

Route::get('/', function () { return view('horizon::app'); });

all done guys, will be customizable in the next release. 馃槂

@browner12 When will that be released? I'm also looking for a customizable solution, though I'm looking to customize the route and the views as well.

there's no specific timeline on releases. whenever they get around to it.

Was this feature added? 馃槉 @browner12

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lasselehtinen picture lasselehtinen  路  3Comments

mikeminckler picture mikeminckler  路  3Comments

tillkruss picture tillkruss  路  6Comments

etiennellipse picture etiennellipse  路  3Comments

okaufmann picture okaufmann  路  3Comments