Fix duplicate model find query in UploadsController
UploadsActions memoizes the result of `#find_model` in `#model`. That means that if we call `#find_model` first, we'll run the query twice. As `#model` is memoized, we don't need the `before_action` at all anyway.
Showing
Please register or sign in to comment