Sha256: b8d684cedb10516bcf110a8cbd8ea4a78b3410c609306a660a8225cc8ab9bdeb
Contents?: true
Size: 556 Bytes
Versions: 2
Compression:
Stored size: 556 Bytes
Contents
module Bently class Omniauth < RailsRecipe homepage 'https://github.com/intridea/omniauth/blob/master/README.md' def initialize gem 'omniauth' bundle create './config/initializers/omniauth.rb', template('omniauth.rb') insert 'config/routes.rb', " match '/auth/:provider/callback', to: 'sessions#create'\n", :after => "Application.routes.draw do\n" create './app/controllers/sessions_controller.rb', template('sessions_controller.rb') todo 'implement User#find_or_create_from_auth_hash' end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bently-1.0.2 | lib/bently/recipe/omniauth.rb |
bently-1.0.1 | lib/bently/recipe/omniauth.rb |