notebook/app/controllers/data_controller.rb
2019-10-17 13:07:40 -05:00

22 lines
304 B
Ruby

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