diff --git a/app/assets/javascripts/temp_jsons.js b/app/assets/javascripts/temp_jsons.js deleted file mode 100644 index dee720fac..000000000 --- a/app/assets/javascripts/temp_jsons.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/temp_jsons.scss b/app/assets/stylesheets/temp_jsons.scss deleted file mode 100644 index b12deb7f5..000000000 --- a/app/assets/stylesheets/temp_jsons.scss +++ /dev/null @@ -1,3 +0,0 @@ -// Place all the styles related to the temp_jsons 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/temp_jsons_controller.rb b/app/controllers/temp_jsons_controller.rb deleted file mode 100755 index 2839fdd85..000000000 --- a/app/controllers/temp_jsons_controller.rb +++ /dev/null @@ -1,16 +0,0 @@ -class TempJsonsController < ApplicationController - - def new - @temp_json=JsonTemp.new - end - def create - @temp_json=JsonTemp.new(temp_params) - json_file_contents=@temp_json.json_file.read - json_object=JSON.parse(json_file_contents) - - end - - def temp_params - params.require(:json_file) - end -end diff --git a/app/helpers/temp_jsons_helper.rb b/app/helpers/temp_jsons_helper.rb deleted file mode 100644 index 554afcb2d..000000000 --- a/app/helpers/temp_jsons_helper.rb +++ /dev/null @@ -1,2 +0,0 @@ -module TempJsonsHelper -end diff --git a/test/controllers/temp_jsons_controller_test.rb b/test/controllers/temp_jsons_controller_test.rb deleted file mode 100644 index 4fe936641..000000000 --- a/test/controllers/temp_jsons_controller_test.rb +++ /dev/null @@ -1,7 +0,0 @@ -require 'test_helper' - -class TempJsonsControllerTest < ActionController::TestCase - # test "the truth" do - # assert true - # end -end