notebook/app/controllers/data_controller.rb
2019-12-15 01:14:24 -06:00

25 lines
325 B
Ruby

class DataController < ApplicationController
before_action :authenticate_user!
before_action :set_sidenav_expansion
def index
end
def archive
end
def uploads
end
def usage
@content = current_user.content
end
private
def set_sidenav_expansion
@sidenav_expansion = 'my account'
end
end