Sha256: 0c557a231c78b63e8dcab226a012cf68f9b3f9090e70d10c8e4642eb2780c015
Contents?: true
Size: 230 Bytes
Versions: 11
Compression:
Stored size: 230 Bytes
Contents
class WelcomeController < ApplicationController include UrlHelper def index if Entry.empty? redirect_to(populate_path) elsif !logged_in? flash.keep(:notice) redirect_to(login_path) end end end
Version data entries
11 entries across 11 versions & 2 rubygems