app/helpers/stachio/application_helper.rb in stachio-0.0.2 vs app/helpers/stachio/application_helper.rb in stachio-0.0.3

- old
+ new

@@ -1,4 +1,7 @@ module Stachio module ApplicationHelper + def readonly + !!(Stachio::Engine.config.readonly) + end end end