SHOW:
|
|
- or go back to the newest paste.
1 | # what you sent | |
2 | scope :manager, :path_prefix => 'manage', :sidebar => 'manager', as: :manage do | |
3 | resources :client_carriers, :facilities, :users | |
4 | ||
5 | # long form | |
6 | - | scope :manager, {path_prefix: 'manage', sidebar: 'manager'}, as: :manage do |
6 | + | scope :manager, {path_prefix: 'manage', sidebar: 'manager', as: :manage} do |
7 | resources :client_carriers, :facilities, :users | |
8 | end |