class EventsController < ApplicationController

before_filter :login_required
#before_filter :require_login, :only => [ :list, :show ]
#
layout "backend"

require 'globals_helper'
require 'onekfires_lib'
require 'globals_lib'

include Globals
include OneKFiresUtil

 


def index
list
render :action => 'list'
end

# GETs should be safe (see http://www.w3.org/2001/tag/doc/whenToUseGet.html)
verify :method => :post, :only => [ :destroy, :create, :update ],
:redirect_to => { :action => :list }


def deleteaudio

logger.debug("in EVENT CONTROLLER::deleteaudio!!")
begin
upload = Upload.get_upload_not_deleted(params[:upload_id])

if !upload.nil?
logger.debug("upload found and is thus: #{upload.file_name}")
upload.media_delete("EVENT_AUDIO")
end
rescue => err
logger.warn("deleteaudio error occurred: #{err}")
flash[:notice] = 'Upload does not exist to delete!!'
end
#Rotation work
Rotation.init_rotations

redirect_to :action => "edit", :id => params[:event_id]

end
def deleteimage

params[:event_id]

 

1000fires was a band from 1999 until somewhere around 2004 or when Hank saw the Medications play and went a little crazy and needed a musical sabatical.

Justin moved to LA. Travis got his heart broken and watched his sis' graduate from Yale. Harry and Robert rocked out for 3 minutes in Aviator much like Hank did in the forever war.

This site remains a remembrance of good times and Hank's obessesion with that dream about billboards aflame. It also allows him to pimp himself for hire.

 

To learn about the old band, look for the FIRE!!!!! Hank needs to get off his ass and fix the links.

Here is Hank's Tech Blog [mostly related to Rails and Security.]


RailsConf 2008
Pretty Soon This Robot will teach you stuff....
music I like
Pretty soon this robot will teach you stuff...