Any reason you didn't put everything within a `on current_user && current_user.admin do` block?
That should be simpler and might prevent you doing the lines right below.