Sha256: 212922dbdefeeba8bdfcc3569820e37648f102b781b4d3aa708da42cad69348f
Contents?: true
Size: 521 Bytes
Versions: 5
Compression:
Stored size: 521 Bytes
Contents
Rails.application.routes.draw do root to: 'articles#index' devise_for :users resources :articles resources :comments, only: [:create, :destroy] notify_to :users, with_subscription: true notify_to :users, with_devise: :users, devise_default_routes: true, with_subscription: true notify_to :admins, with_devise: :users, with_subscription: true scope :admins, as: :admins do notify_to :admins, with_devise: :users, devise_default_routes: true, with_subscription: true, routing_scope: :admins end end
Version data entries
5 entries across 5 versions & 1 rubygems