Sha256: 56801d47fcc708b4bde496d32474b59c895abbcc5ba0552fb1cbddc52fca8932

Contents?: true

Size: 449 Bytes

Versions: 8

Compression:

Stored size: 449 Bytes

Contents

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

    resources :contacts

    # 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

8 entries across 8 versions & 1 rubygems

Version Path
tkh_mailing_list-0.11.3 config/routes.rb
tkh_mailing_list-0.11.2 config/routes.rb
tkh_mailing_list-0.11.1.1 config/routes.rb
tkh_mailing_list-0.11.1 config/routes.rb
tkh_mailing_list-0.11 config/routes.rb
tkh_mailing_list-0.10.10 config/routes.rb
tkh_mailing_list-0.10.9.1 config/routes.rb
tkh_mailing_list-0.10.9 config/routes.rb