Sha256: 0ca7d2352c16c619797cc7cc957bddcb2575a4618e369c4133d2479b2c5fd995
Contents?: true
Size: 627 Bytes
Versions: 1
Compression:
Stored size: 627 Bytes
Contents
class TestsController < ApplicationController def index end def show return_to_referer new_test_path end def new save_referer end def create redirect_back notice: 'Created!', status: :moved_permanently end def edit clear_referer save_referer end def update return_to_referer end def destroy clear_referer redirect_back new_test_path end def offsite_with_default redirect_back new_test_path, offsite: true, alert: 'Offsite with default!' end def offsite_without_default redirect_back offsite: true, alert: 'Offsite without default!' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jump_back-0.1.1 | spec/dummy/app/controllers/tests_controller.rb |