Sha256: d3c8228f26cbed5149758563c1ed0972af9774cfd42ea9f0ad541653e58e0d1f
Contents?: true
Size: 382 Bytes
Versions: 31
Compression:
Stored size: 382 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 text: 'ok' end end
Version data entries
31 entries across 31 versions & 3 rubygems