mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-06 23:15:34 +08:00
Deleted old unused files i spotted on github
This commit is contained in:
parent
6a07aa28e4
commit
4051c0b06b
5 changed files with 0 additions and 30 deletions
|
@ -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.
|
|
@ -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/
|
|
@ -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
|
|
@ -1,2 +0,0 @@
|
|||
module TempJsonsHelper
|
||||
end
|
|
@ -1,7 +0,0 @@
|
|||
require 'test_helper'
|
||||
|
||||
class TempJsonsControllerTest < ActionController::TestCase
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
end
|
Loading…
Reference in a new issue