logics_controller.rb revision 813c1fb6ef7f1d386c65abf8d79389be3cb0f4e9
#
# Controller for Logics
#
respond_to do |format|
format.json do
end
end
end
def index
super do |format|
format.html do
@search = params[:search]
@search = nil if @search.blank?
end
end
end
def create
@logic.user = current_user
super
end
def show
super do |format|
format.html do
@supports = resource.supports.all
end
end
end
end