improve flash message for before_filters of datasetsController