generators/acts_as_approvable/templates/initializer.rb in acts-as-approvable-0.6.4 vs generators/acts_as_approvable/templates/initializer.rb in acts-as-approvable-0.6.5

- old
+ new

@@ -1,3 +1,3 @@ ActsAsApprovable.view_language = '<%= view_language %>' -<% if owner? %>ActsAsApprovable::Ownership.configure<% if options[:owner] != 'User' %>(:owner => <%= options[:owner].constantize %>)<% end %> +<% if owner? %>ActsAsApprovable::Ownership.configure<% if owner != 'User' %>(:owner => <%= owner.constantize %>)<% end %> <% end %>