Sha256: 6a36a05052f620f1bb23aa002e406e3c6f9776b8669e679c83ac9d8e16ed5e9f
Contents?: true
Size: 637 Bytes
Versions: 3
Compression:
Stored size: 637 Bytes
Contents
class JavascriptsController < ApplicationController helper Lipsiadmin::View::Helpers::BackendHelper def backend respond_to do |format| format.html { render :text => "Resource is not available, regardless of authorization. Often the result of bad file or directory permissions on the server. ", :status => '403 Forbidden' } format.js end end def locale respond_to do |format| format.html { render :text => "Resource is not available, regardless of authorization. Often the result of bad file or directory permissions on the server. ", :status => '403 Forbidden' } format.js end end end
Version data entries
3 entries across 3 versions & 1 rubygems