Permalink
Browse files

Ensure authorization service is loaded

  • Loading branch information...
1 parent 30028ce commit 5dd21a27cf06d05e975c8a6f1149692cb242769a @bergie committed Apr 11, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 injector.php
View
@@ -15,6 +15,9 @@ class midgardmvc_ui_create_injector
{
public function inject_process(midgardmvc_core_request $request)
{
+ // Ensure authorization service is loaded
+ midgardmvc_core::get_instance()->authorization;
+
// Register URL handlers
$request->add_component_to_chain(midgardmvc_core::get_instance()->component->get('midgardmvc_ui_create'));
if (midgardmvc_core::get_instance()->context->get_current_context() != 0)

0 comments on commit 5dd21a2

Please sign in to comment.