Skip to content

Commit

Permalink
wip: set widget
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiejol committed Oct 26, 2023
1 parent c2667db commit f0958c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion script/rvd_front
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ hook before_routes => sub {
$c->stash(version => $RAVADA->version);
my $url = $c->req->url->to_abs->path;
my $host = $c->req->url->to_abs->host;
my $widget=( $CONFIG_FRONT->{widget} or $RAVADA->setting('/frontend/widget'));
$c->stash(css=>['/css/sb-admin.css']
,js_mod=>[ ## angular modules
'/js/booking/booking.module.js?v='.$RAVADA->version
Expand All @@ -215,7 +216,7 @@ hook before_routes => sub {
,host => $host
,bookings => $RAVADA->setting('/backend/bookings')
,FEATURE => {}
,widget => $CONFIG_FRONT->{widget}
,widget => $widget
);

$USER = _logged_in($c);
Expand Down

0 comments on commit f0958c1

Please sign in to comment.