Sha256: 2da06bd63b5b78b09b53dfee8448fca506f306a0674d0cd85711316edaa2b46e

Contents?: true

Size: 249 Bytes

Versions: 3

Compression:

Stored size: 249 Bytes

Contents

module ActionDispatch::Routing
  class Mapper

  protected
    def devise_approval(mapping, controllers) 
      resource :approval, only: [:new, :create, :show], path: mapping.path_names[:approval], controller: controllers[:approvals]
    end

  end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
devise_approvable-0.4.0 lib/devise_approvable/routes.rb
devise_approvable-0.3.0 lib/devise_approvable/routes.rb
devise-approvable-0.3.0 lib/devise_approvable/routes.rb