Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Work around
def datastream_to_show
super
rescue Exception => e
if params[:datastream_id] == 'thumbnail'
redirect_to 'path/to/default thumbnail'
return false
else
raise e
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.