Sha256: d1c1f79605d0b1c3f7232f47a29d0d171dae34d86badfda2c7948b6c90a5d7c9
Contents?: true
Size: 383 Bytes
Versions: 27
Compression:
Stored size: 383 Bytes
Contents
class HomeController < ApplicationController def index end def sign_in session[:user_id] = if Rails.env.development? User.first || User.create!(name: 'Joe', password: 'sekret') else User.first end redirect_to '/' end def callback render plain: 'ok' end end
Version data entries
27 entries across 27 versions & 3 rubygems