module Stachio
Constants
- VERSION
Public Class Methods
readonly()
click to toggle source
# File lib/stachio/readonly.rb, line 2 def self.readonly return Stachio::Engine.config.readonly if defined?(Stachio::Engine.config.readonly) (defined?(Rails) && Rails.env.production?) ? true : false end