generators/sparkly/templates/sessions_helper.rb in sparkly-auth-1.0.2 vs generators/sparkly/templates/sessions_helper.rb in sparkly-auth-1.1.0
- old
+ new
@@ -1 +1 @@
-module <%=model.sessions_controller.camelize%>Helper
+module <%=(@model || model).sessions_controller.camelize%>Helper