app/controllers/prosperity/application_controller.rb in prosperity-0.0.9 vs app/controllers/prosperity/application_controller.rb in prosperity-0.0.10
- old
+ new
@@ -1,6 +1,8 @@
module Prosperity
- class ApplicationController < ActionController::Base
+ class ApplicationController < ::Prosperity.parent_controller.constantize
+ layout 'prosperity/application'
+
protected
def set_error(model)
flash[:error] = model.errors.full_messages.to_sentence
end