Attaching Refinery CMS to an existing Rails application
i'm trying to attach Refi开发者_高级运维nery to an existing app and was wondering why it's not possible to define a "Refinery User model". Probably everybody uses an "User" model to deal with the application logic. it would be nice if i could define an "CmsUser/Admin" user to use with refinery.
or is it possible ?
I'm not sure from your question if you're aware of this or not, but Refinery uses Devise for authentication & authorization. Those docs might help.
You might also find http://refinerycms.com/guides/attaching-refinery-cms-as-part-of-a-larger-rails-devise-application helpful, as it does address integration of refinery and an existing app.
精彩评论