Displaying 2 results from an estimated 2 matches for "somelogic".
Did you mean:
softlogic
2002 Nov 23
1
Can't get Unreal to work in opengl mode
Hello all.
I downloaded and compiled Wine-20021031.tar.gz (I did ./tools/wineinstall)
According to the config.log, it correctly found and compiled everything
about OpenGL on my system (I have a GeForce II MX card and I use the NVIDIA
2960 drivers).
I played succesfully 'Jedi Knight II' in OpenGL mode with wine; but I can't
play Unreal I (single-player game) in any other mode than
2007 Jan 20
0
Best way to force a respond_to format
...d format. If I can''t find it, then I
may just fall through to the typical ACCEPT header.
I''m wondering what others thoughts are on the best way to do this.
I have found that I can simply set the params[:format] to what I want.
such as:
before_filter :typecheck
def typecheck
somelogic...
params[:format] = "xhtmlmp"
or...
params[:format] = "wml"
end
Then in my view, I will have a respond_to block something like.
respond_to do |format|
format.html
format.xml { :render :xml => @object.to_xml }
format.xhtmlmp { render :template => ''o...