Skip to content

Commit

Permalink
[#750] another Hobo::Error -> Hobo::PermissionDeniedError
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanlarsen authored and ddnexus committed Nov 13, 2010
1 parent cf3801c commit 0fdd806
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hobo/lib/hobo/rapid/taglibs/rapid_forms.dryml
Expand Up @@ -652,7 +652,7 @@ For situations where there are too many target records to practically include in

-->
<def tag="select-one" attrs="include-none, blank-message, options, sort, limit, text-method"><%
raise Hobo::Error.new("Not allowed to edit #{this_field}") if !attributes[:disabled] && !can_edit?
raise Hobo::PermissionDeniedError.new("Not allowed to edit #{this_field}") if !attributes[:disabled] && !can_edit?
blank_message ||= ht("#{this_type.name.tableize}.message.no", :default=>"(No #{this_type.model_name.human})")
limit ||= 100

Expand Down

0 comments on commit 0fdd806

Please sign in to comment.