TrestleAdmin / trestle-search

Search plugin for the Trestle admin framework

Home Page:https://trestle.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reference to Users table instead of Administrator when login - Rails 6.rc1

leotrieu opened this issue · comments

Hi,

Not sure why but when I installed this gem and go to the admin pages, it will jump to the Users table (Devise gem) to authorise instead of the Administrators table.

As a consequence, a normal user (from Users table) can access to the Admin zone as long as he's logged in.

If I remove this gem from the Gemfile, everything is working perfectly.

This issue can be recreated also with Rails 6.0.0rc2