Skip to content

Instantly share code, notes, and snippets.

@dennermiranda
Created November 4, 2010 13:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dennermiranda/662471 to your computer and use it in GitHub Desktop.
Save dennermiranda/662471 to your computer and use it in GitHub Desktop.
class GradesController < ApplicationController
#load_and_authorize_resource
def aluno
@aluno =Aluno.find(current_user.id)
@aluno_diario = AlunoDiario.find(:aluno_id == aluno.id)
#@curso = Curso.all
#@disciplina = Disciplina.all
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment