On Sat, Feb 1, 2014 at 6:30 PM, Bizt <
marty...@gmail.com> wrote:
> In the documentation it seems I can specify which methods I want to allow:
>
> resources :accounts, only: [:index, :new, :create, :edit, :update, :destroy]
> # no show
>
> is this the correct/ best way to restrict access?
You can also use
resources :accounts, except: [ :show ]
> Then I can delete my controller method ad view(?)
Sure. Or maybe. Do frequent git saves, try it, change your mind,
it's all good :-)