Maybe problem is in the example. I can replace with `only: [:show, :edit]`.

However with inherited resources I prefer to define all the scopes with `has_scope`, but not in actions, so i can omit them at all.

I use this method for `:page` scope with kaminari sometimes even with `only: :index`.

If you think this is bad practice, I can remove this paragraph.