From aed1dad82cde8d50a21ebce2fc9bd731d37ec362 Mon Sep 17 00:00:00 2001 From: cxt <853663049@qq.com> Date: Wed, 31 Jul 2019 16:53:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4forum?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/assets/javascripts/forums.js | 2 -- app/assets/stylesheets/forums.scss | 3 --- app/controllers/forums_controller.rb | 2 -- app/helpers/forums_helper.rb | 2 -- spec/controllers/forums_controller_spec.rb | 5 ----- spec/helpers/forums_helper_spec.rb | 15 --------------- 6 files changed, 29 deletions(-) delete mode 100644 app/assets/javascripts/forums.js delete mode 100644 app/assets/stylesheets/forums.scss delete mode 100644 app/controllers/forums_controller.rb delete mode 100644 app/helpers/forums_helper.rb delete mode 100644 spec/controllers/forums_controller_spec.rb delete mode 100644 spec/helpers/forums_helper_spec.rb diff --git a/app/assets/javascripts/forums.js b/app/assets/javascripts/forums.js deleted file mode 100644 index dee720fac..000000000 --- a/app/assets/javascripts/forums.js +++ /dev/null @@ -1,2 +0,0 @@ -// Place all the behaviors and hooks related to the matching controller here. -// All this logic will automatically be available in application.js. diff --git a/app/assets/stylesheets/forums.scss b/app/assets/stylesheets/forums.scss deleted file mode 100644 index fafd631e1..000000000 --- a/app/assets/stylesheets/forums.scss +++ /dev/null @@ -1,3 +0,0 @@ -// Place all the styles related to the forums controller here. -// They will automatically be included in application.css. -// You can use Sass (SCSS) here: http://sass-lang.com/ diff --git a/app/controllers/forums_controller.rb b/app/controllers/forums_controller.rb deleted file mode 100644 index 82573fdd0..000000000 --- a/app/controllers/forums_controller.rb +++ /dev/null @@ -1,2 +0,0 @@ -class ForumsController < ApplicationController -end diff --git a/app/helpers/forums_helper.rb b/app/helpers/forums_helper.rb deleted file mode 100644 index 2e531fd46..000000000 --- a/app/helpers/forums_helper.rb +++ /dev/null @@ -1,2 +0,0 @@ -module ForumsHelper -end diff --git a/spec/controllers/forums_controller_spec.rb b/spec/controllers/forums_controller_spec.rb deleted file mode 100644 index a4143d232..000000000 --- a/spec/controllers/forums_controller_spec.rb +++ /dev/null @@ -1,5 +0,0 @@ -require 'rails_helper' - -RSpec.describe ForumsController, type: :controller do - -end diff --git a/spec/helpers/forums_helper_spec.rb b/spec/helpers/forums_helper_spec.rb deleted file mode 100644 index 46766dbff..000000000 --- a/spec/helpers/forums_helper_spec.rb +++ /dev/null @@ -1,15 +0,0 @@ -require 'rails_helper' - -# Specs in this file have access to a helper object that includes -# the ForumsHelper. For example: -# -# describe ForumsHelper do -# describe "string concat" do -# it "concats two strings with spaces" do -# expect(helper.concat_strings("this","that")).to eq("this that") -# end -# end -# end -RSpec.describe ForumsHelper, type: :helper do - pending "add some examples to (or delete) #{__FILE__}" -end