Skip to content

Added methods to add and remove superadmin in user model - #205

Open
divyanshumehta wants to merge 1 commit into
berkmancenter:devfrom
divyanshumehta:issue_190
Open

Added methods to add and remove superadmin in user model#205
divyanshumehta wants to merge 1 commit into
berkmancenter:devfrom
divyanshumehta:issue_190

Conversation

@divyanshumehta

Copy link
Copy Markdown
Contributor

Moved the redundant code in admin/users_controller.rb into the user model creating two new methods add_superadmin and remove_superadmin . Fixes #190 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant