Permalink
Browse files

make overriding of layout easier in app

  • Loading branch information...
1 parent d1f6003 commit edaf0e6da2a560f39ef1a9c538f6063346777f21 @Systho Systho committed Jan 11, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 app/controllers/masq/base_controller.rb
@@ -1,8 +1,10 @@
module Masq
- class BaseController < ActionController::Base
+ class BaseController < ::ApplicationController
include OpenidServerSystem
include AuthenticatedSystem
+ helper 'masq/application'
+
protect_from_forgery
rescue_from ::ActiveRecord::RecordNotFound, :with => :render_404

0 comments on commit edaf0e6

Please sign in to comment.