Sha256: 0350181e141a53b0bc2d9611b37f466539e44ec6cef64245edd5857d7d8ffb88
Contents?: true
Size: 475 Bytes
Versions: 12
Compression:
Stored size: 475 Bytes
Contents
# @private # This controller is only used for testing purposes, it does not actually get used outside of test. class Challah::Test::RestrictionsController < ApplicationController signin_required only: [ :blah ] before_filter :signin_required, only: [ :edit ] restrict_to_authenticated only: [ :show ] def index current_user head :ok end def show head :ok end def edit head :ok end def blah head :ok end end
Version data entries
12 entries across 12 versions & 2 rubygems