app/helpers/kryptonite/kryptonite_helper.rb in kryptonite-0.0.9 vs app/helpers/kryptonite/kryptonite_helper.rb in kryptonite-0.0.10

- old
+ new

@@ -28,16 +28,18 @@ case level when $KRYPTONITE_USER_ACCESS_LEVEL_ADMIN return "Administrator" when $KRYPTONITE_USER_ACCESS_LEVEL_USER return "User" + when $KRYPTONITE_USER_ACCESS_LEVEL_FE_USER + return "Frontend User" else return "Unknown" end end def kryptonite_get_access_level_array - [["Administrator", $KRYPTONITE_USER_ACCESS_LEVEL_ADMIN], ["User", $KRYPTONITE_USER_ACCESS_LEVEL_USER]] + [["Administrator", $KRYPTONITE_USER_ACCESS_LEVEL_ADMIN], ["User", $KRYPTONITE_USER_ACCESS_LEVEL_USER], ["Frontend User", $KRYPTONITE_USER_ACCESS_LEVEL_FE_USER]] end def kryptonite_table_cell_link contents, link, options = {} if options.key? :kryptonite_truncate \ No newline at end of file