interchange / Dancer-Plugin-Interchange6

Dancer Plugin for Interchange6 shop machine
4 stars 1 forks source link

define Interchange6::Routes layout in config #53

Closed hexfusion closed 2 years ago

hexfusion commented 9 years ago

Currently we can define the IC6 route template in the config. I would like to be able to also define layout.

plugins:
  Interchange6::Routes
    cart:
      layout: no_sidebar
      template: cart_new
 template $routes_config->{cart}->{template}, \%values,
    { layout => $routes_config->{cart}->{layout} };