Sha256: bd3fb9b00e3d81576787288575a672a7b5a8f033d9efba7e925f423c69d484a6
Contents?: true
Size: 422 Bytes
Versions: 17
Compression:
Stored size: 422 Bytes
Contents
module Locomotive class ErrorsController < ApplicationController layout '/locomotive/layouts/error' helper Locomotive::BaseHelper def error_404 render '404', status: :not_found end def error_500 render '500', status: :internal_server_error end def no_site respond_to do |format| format.html { render 'no_site', status: :not_found } end end end end
Version data entries
17 entries across 17 versions & 1 rubygems