Both will trigger the method "SyncEngine.dosync".
:sync - Trigger SyncEngine.dosync
:options - Navigate to the configured options\_path
options_path = '/app/Settings'
If you have not changed options_path, it will navigate to "/app/Settings/index.erb" .
When you click "Perform a Sync", it will call "do_sync" method in setting_controller.rb
Here, you can write your own code instead of "SyncEngine.dosync".
Hi thanks a lot for your explanation.