From d5e65393f7255513b25d8a7fc1d939d40fe5b068 Mon Sep 17 00:00:00 2001 From: Youngkyun Kim Date: Tue, 30 Aug 2016 12:11:02 +0000 Subject: [PATCH] Update volume/info -> volume/index, Add volume create button --- app/controllers/volume_controller.rb | 2 +- app/views/partials/_sidenav.html.erb | 4 +- app/views/partials/_topnav.html.erb | 62 +++---------------- .../volume/{info.html.erb => index.html.erb} | 25 +++++--- config/routes.rb | 19 +++--- 5 files changed, 40 insertions(+), 72 deletions(-) rename app/views/volume/{info.html.erb => index.html.erb} (93%) diff --git a/app/controllers/volume_controller.rb b/app/controllers/volume_controller.rb index 10b33f5..3b452c3 100644 --- a/app/controllers/volume_controller.rb +++ b/app/controllers/volume_controller.rb @@ -1,7 +1,7 @@ class VolumeController < ApplicationController helper_method :file_directory - def info + def index @conf_list = get_conf project_path = String.new @conf_list.each do |t| diff --git a/app/views/partials/_sidenav.html.erb b/app/views/partials/_sidenav.html.erb index 99f7541..500c01f 100644 --- a/app/views/partials/_sidenav.html.erb +++ b/app/views/partials/_sidenav.html.erb @@ -15,13 +15,13 @@