I want to have an index view for photoalbums both for an admin and for
the users. Does Rails provide a better way to do something like
site.com/albums?admin=1 => shows admin index and site.com/albums =>
shows indew for users
Where i would do something like if params[:admin] == 1 (and some
session checking also) to make the difference between the 2 views?