Sha256: eaea045908bb05b762f27c757dbf4f29952e4e4c5472bcc405e37560e31190b4

Contents?: true

Size: 424 Bytes

Versions: 9

Compression:

Stored size: 424 Bytes

Contents

Rails.application.routes.draw do
  scope "(:locale)", locale: /#{I18n.available_locales.join("|")}/ do

    # Mailing list records for admin
    resources :details # deprecated. Should disappear soon.

    # for public viewing and admin editing
    resources :members
    # for user to edit and view privately
    resource :profile, only: [ :show, :edit, :update ]
    get 'profile_history' => 'profiles#history'

  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
tkh_mailing_list-0.10.8 config/routes.rb
tkh_mailing_list-0.10.7 config/routes.rb
tkh_mailing_list-0.10.6 config/routes.rb
tkh_mailing_list-0.10.5 config/routes.rb
tkh_mailing_list-0.10.4 config/routes.rb
tkh_mailing_list-0.10.3 config/routes.rb
tkh_mailing_list-0.10.2 config/routes.rb
tkh_mailing_list-0.10.1 config/routes.rb
tkh_mailing_list-0.10 config/routes.rb