README.md in tramway-event-1.12.9.1 vs README.md in tramway-event-2.0
- old
+ new
@@ -37,10 +37,10 @@
#### 5. Add events to admin panel
*config/initializers/tramway.rb*
```ruby
-Tramway::Admin.set_available_models ::Tramway::Event::Event, ::Tramway::Event::ParticipantFormField, ::Tramway::Event::Participant, project: #{project_which_you_used_in_the_application}
+Tramway.set_available_models ::Tramway::Event::Event, ::Tramway::Event::ParticipantFormField, ::Tramway::Event::Participant, project: #{project_which_you_used_in_the_application}
```
#### 6. Add events routes to the app
*config/routes.rb*