class Iro::ProfilesController

def set_profile

Use callbacks to share common setup or constraints between actions.
def set_profile
  @profile = Profile.find(params[:id])
end