Deleted old unused files i spotted on github

This commit is contained in:
Zanz2 2017-09-22 13:28:38 +02:00
parent 6a07aa28e4
commit 4051c0b06b
5 changed files with 0 additions and 30 deletions

View file

@ -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.

View file

@ -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/

View file

@ -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

View file

@ -1,2 +0,0 @@
module TempJsonsHelper
end

View file

@ -1,7 +0,0 @@
require 'test_helper'
class TempJsonsControllerTest < ActionController::TestCase
# test "the truth" do
# assert true
# end
end