app/controllers/jabe/sessions_controller.rb in jabe-0.7.0 vs app/controllers/jabe/sessions_controller.rb in jabe-0.8.0
- old
+ new
@@ -1,4 +1,17 @@
module Jabe
class SessionsController < ::Devise::SessionsController
+ layout 'jabe/application'
+ include BodyClassHelper
+
+ protected
+
+ def after_sign_in_path_for(resource)
+ admin_entries_path
+ end
+
+ def after_sign_out_path_for(resource)
+ root_path
+ end
+
end
end
\ No newline at end of file