app/controllers/sandbox_db_resets_controller.rb
# Resets KMForum database to this app speciffic starting point - with three
# users created - admin, moderator and regular user.
Resets KMForum database to this app speciffic starting point - with three
users created - admin, moderator and regular user.
Resets KMForum database to this app speciffic starting point - with three users created - admin moderator and regular user .
def reset
    system 'bundle exec rake reset_kmf &'
    flash[:info] = 'Database reset pending. Site will be in maintenance mode' \
                   ' for less than a minute'
    redirect_to root_url
  end
def reset system 'bundle exec rake reset_kmf &' flash [ :info ] = 'Database reset pending. Site will be in maintenance mode' ' for less than a minute' redirect_to root_url end
Resets KMForum database to this app speciffic starting point - with three
users created - admin, moderator and regular user.
Resets KMForum database to this app speciffic starting point - with three users created - admin moderator and regular user .
# Reset KMForum db.