slate-studio / activeadmin-settings

Settings backend for activeadmin based projects - pretty handy tool.
88 stars 65 forks source link

Delete current user #23

Closed asecondwill closed 10 years ago

asecondwill commented 10 years ago

I don't really know why i did this, but if i delete the current admin, i get logged out. logging in as the last remaining admin (id = 1) gets me

Couldn't find AdminUser with id=2

asecondwill commented 10 years ago

sorry, my bad. its not the settings thing. I had set up versioning & a panel on the dashboard, and all the edits had been done by user id = 2. whoopsy. Nice settings gem, : ).