Tramway::Profiles

This gem provides easy way to add info about social profiles of your organization

Installation

1. Add this line to your application's Gemfile:

gem 'tramway-profiles'

2. Generations

rails g tramway:profiles:install
rails db:migrate

3. Install tramway-admin gem. How-to

4. Add social network to the admin panel

app/initializers/tramway.rb

::Tramway::Admin.set_available_models(::Tramway::Profiles::SocialNetwork, project: :your_project_name)

5. Now you have SocialNetwork objects in your project, that associated with Tramway::Core.application by default

Usage. English

...coming soon

Использование

Прочитайте нашу инструкцию по использованию гема

Troubleshooting

  1. undefined method 'profile_link' just add include ::Tramway::Profiles::ApplicationHelper to your main helper

Contributing

Contribution directions go here.

License

The gem is available as open source under the terms of the MIT License.