refactoring collection form to use current_user as publisher and simplify code
Showing
- app/controllers/collections_controller.rb 6 additions, 2 deletionsapp/controllers/collections_controller.rb
- app/controllers/users_controller.rb 10 additions, 0 deletionsapp/controllers/users_controller.rb
- app/repositories/orient_db/collection_repository.rb 2 additions, 1 deletionapp/repositories/orient_db/collection_repository.rb
- app/views/collections/_create.html.erb 7 additions, 5 deletionsapp/views/collections/_create.html.erb
- app/views/collections/_form.html.erb 10 additions, 15 deletionsapp/views/collections/_form.html.erb
- app/views/users/me.html.erb 1 addition, 1 deletionapp/views/users/me.html.erb
Loading
Please register or sign in to comment