summaryrefslogtreecommitdiff
path: root/billing/app/controllers/billing_base_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'billing/app/controllers/billing_base_controller.rb')
-rw-r--r--billing/app/controllers/billing_base_controller.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/billing/app/controllers/billing_base_controller.rb b/billing/app/controllers/billing_base_controller.rb
new file mode 100644
index 0000000..dc15194
--- /dev/null
+++ b/billing/app/controllers/billing_base_controller.rb
@@ -0,0 +1,11 @@
+class BillingBaseController < ApplicationController
+ before_filter :assign_user
+
+ helper 'billing'
+
+ # required for navigation to work.
+ def assign_user
+ @user = current_user
+ end
+
+end