Calling default_exposure #31

Closed
ream88 opened this Issue Nov 15, 2011 · 1 comment

Comments

Projects
None yet
2 participants
Contributor

ream88 commented Nov 15, 2011

Is there a way to call the default_exposure defined by decent_exposure?

expose(:user) { current_user.presence || default_exposure }
Contributor

voxdolo commented Jan 4, 2012

Not currently. You'll be able to do this in the forthcoming version of DE though. Sorry for the inconvenience :\

@voxdolo voxdolo closed this Jan 4, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment