diff --git a/app/controllers/modules_controller.rb b/app/controllers/modules_controller.rb index 376dcf5..4446a9c 100644 --- a/app/controllers/modules_controller.rb +++ b/app/controllers/modules_controller.rb @@ -32,6 +32,8 @@ class ModulesController < ApplicationController end # POST /project/1/repositories/42/modules/24 - def load_tree; end + def load_tree + render :partial => "modules/javascript.html.erb" + end end \ No newline at end of file diff --git a/app/views/modules/_javascript.html.erb b/app/views/modules/_javascript.html.erb new file mode 100644 index 0000000..2c03e28 --- /dev/null +++ b/app/views/modules/_javascript.html.erb @@ -0,0 +1 @@ +
Testando um gif animado! GAN
\ No newline at end of file diff --git a/app/views/repositories/show.html.erb b/app/views/repositories/show.html.erb index 0759b15..cea7c3e 100644 --- a/app/views/repositories/show.html.erb +++ b/app/views/repositories/show.html.erb @@ -36,6 +36,14 @@ <% end %>