Sha256: 006ff2ef686d6458cadc4b51ee2f4476905c757af1146204db1bc30e65f3e597
Contents?: true
Size: 276 Bytes
Versions: 22
Compression:
Stored size: 276 Bytes
Contents
module Cms class HomeController < Cms::BaseController # Only occurs if somebody goes to /cms, they get redirected to / # However, based on whether they are an admin or not, it will determine where they get sent. def index redirect_to '/' end end end
Version data entries
22 entries across 22 versions & 2 rubygems