app/models/permission.rb in usman-0.3.36 vs app/models/permission.rb in usman-0.3.37
- old
+ new
@@ -42,13 +42,9 @@
end
feature = Feature.find_by_name(hsh[:feature].to_s.strip)
unless feature
- binding.pry
- end
-
- unless feature
summary = "Feature '#{hsh[:feature].to_s.strip}' doesn't exist"
error_object.errors << { summary: summary }
return error_object
end
\ No newline at end of file