Skip to content

Commit

Permalink
Add link to documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
bryszard committed Nov 26, 2023
1 parent d869945 commit e26d03a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/controllers/avo/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ def set_related_resource
def missing_resource_message(resource_name)
"Missing resource detected while rendering field for #{resource_name}. " \
"You can generate that resource running 'rails generate avo:resource #{resource_name.singularize}'. " \
"Alternatively use 'use_resource' option to specify the resource to be used on the field."
"Alternatively use 'use_resource' option to specify the resource to be used on the field. " \
"Check more at https://docs.avohq.io/#{Avo::VERSION[0]}.0/resources.html."
end

def set_model
Expand Down

0 comments on commit e26d03a

Please sign in to comment.