lib/generators/cantango/account_permit/templates/account_permit.erb in cantango-0.9.4.1 vs lib/generators/cantango/account_permit/templates/account_permit.erb in cantango-0.9.4.2
- old
+ new
@@ -8,6 +8,16 @@
def permit_rules
# insert your can, cannot and any other rule statements here
<%= permit_logic.strip %>
<%= license_logic %>
end
+
+ module Cached
+ def permit_rules
+ end
+ end
+
+ module NonCached
+ def permit_rules
+ end
+ end
end