Skip to content
Snippets Groups Projects
Unverified Commit 5957d474 authored by Sébastien Gaya's avatar Sébastien Gaya Committed by GitHub
Browse files

refacto

parent c2ec26d9
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ class Admin::Communication::BlocksController < Admin::Communication::Application
@block = current_university.communication_blocks.find(id)
@block.update position: index + 1
end
@block.about.sync_with_git if @block.about.respond_to?(:sync_with_git)
sync_with_git_if_necessary
end
def new
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment