mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2025-04-20 07:11:33 +02:00
Rubocop autocorrect app directory
This commit is contained in:
parent
ec4aa64cfc
commit
c08ce6864c
10 changed files with 132 additions and 110 deletions
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class User < ActiveRecord::Base
|
||||
def self.find_or_create_from_auth_hash(hash)
|
||||
User.find_or_create_by(email: hash['info']['email'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue