in reply to Re: Catalyst - components from other namespace
in thread Catalyst - components from other namespace
It seems that CatalystX::InjectComponent does what I need.
I have two applications sharing quite a lot of codebase (they are actually two interfaces to one backend). They have many common actions, they use same DBIx::Class::Model, they both render their output via Mason with same configuration.
Of course I could create OurApp::Controller::* and inherited it by MyApp::Controller::* and YourApp::Controller::*, but it just triples the number of files.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Catalyst - components from other namespace
by stonecolddevin (Parson) on Mar 17, 2011 at 20:20 UTC |