Skip to content

eritiro/devise-actioncable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Devise::Actioncable

Use this to work with devise and actioncable.

Installation

Add this line to your application's Gemfile:

gem 'devise-actioncable'

And then execute:

$ bundle

Or install it yourself as:

$ gem install devise-actioncable

Usage

Add the following line to your base Connection

  glue_devise

The file should look like this

module ApplicationCable
  class Connection < ActionCable::Connection::Base
    glue_devise
    identified_by :current_user

    def connect
      authenticate_user!
    end
  end
end

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/eritiro/devise-actioncable.

License

The gem is available as open source under the terms of the GNU license.

About

seamless integration between devise and actioncable

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages