Class: Junebug::Controllers::Logout

Inherits:
Object
  • Object
show all
Defined in:
lib/junebug/controllers.rb

Instance Method Summary collapse

Instance Method Details

#getObject



182
183
184
185
# File 'lib/junebug/controllers.rb', line 182

def get
  @state.user = nil
  input.return_to.blank? ? redirect(Junebug.startpage) : redirect(Junebug.config['url'] + input.return_to)
end