From 320b015e414d85b461200c3006bfac74a08388ce Mon Sep 17 00:00:00 2001 From: Prelang Builder Date: Fri, 13 Feb 2015 08:09:57 +0000 Subject: [PATCH] Created editable Devise controllers --- app/controllers/users/passwords_controller.rb | 7 +++++++ app/controllers/users/registrations_controller.rb | 15 +++++++++++++++ app/controllers/users/sessions_controller.rb | 11 +++++++++++ 3 files changed, 33 insertions(+) create mode 100644 app/controllers/users/passwords_controller.rb create mode 100644 app/controllers/users/registrations_controller.rb create mode 100644 app/controllers/users/sessions_controller.rb diff --git a/app/controllers/users/passwords_controller.rb b/app/controllers/users/passwords_controller.rb new file mode 100644 index 0000000..a4f2e70 --- /dev/null +++ b/app/controllers/users/passwords_controller.rb @@ -0,0 +1,7 @@ +class Users::PasswordsController < Devise::PasswordsController + include ApplicationHelper + + def new + super + end +end diff --git a/app/controllers/users/registrations_controller.rb b/app/controllers/users/registrations_controller.rb new file mode 100644 index 0000000..84411c3 --- /dev/null +++ b/app/controllers/users/registrations_controller.rb @@ -0,0 +1,15 @@ +class Users::RegistrationsController < Devise::RegistrationsController + include ApplicationHelper + + def create + super + end + + def new + super + end + + def edit + super + end +end diff --git a/app/controllers/users/sessions_controller.rb b/app/controllers/users/sessions_controller.rb new file mode 100644 index 0000000..90c13c6 --- /dev/null +++ b/app/controllers/users/sessions_controller.rb @@ -0,0 +1,11 @@ +class Users::SessionsController < Devise::SessionsController + include ApplicationHelper + + def create + super + end + + def new + super + end +end