• Bob Van Landuyt's avatar
    Render a 403 when showing an access denied message · 491e1fc9
    Bob Van Landuyt authored
    When we want to show an access denied message to a user, we don't have
    to hide the resource's existence.
    
    So in that case we render a 403, this 403 is not handled by nginx on
    omnibus installs, making sure the message is visible to the user.
    491e1fc9
search_controller_spec.rb 2.15 KB